daemon: enable -Werror and many gcc warnings when --enable-gcc-warnings
[libguestfs.git] / daemon / sync.c
index 9ade840..e96bf03 100644 (file)
@@ -1,5 +1,5 @@
 /* libguestfs - the guestfsd daemon
- * Copyright (C) 2009 Red Hat Inc. 
+ * Copyright (C) 2009 Red Hat Inc.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -24,9 +24,8 @@
 #include "actions.h"
 
 int
-do_sync ()
+do_sync (void)
 {
   sync ();
-  fprintf (stderr, "guestfsd: disk synched\n");
   return 0;
 }