summaryrefslogtreecommitdiffstats
path: root/daemon/df.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-08-17 09:15:34 +0200
committerJim Meyering <meyering@redhat.com>2009-08-17 11:40:24 +0200
commitd7569c00787fb92a8cd2f08c537ea1662f987901 (patch)
treee20e0a07b73f8fff99e5b3d611e0db082751dea0 /daemon/df.c
parent7793f8eda6b26002cb751503928e06f7b9c4a7d2 (diff)
downloadlibguestfs-d7569c00787fb92a8cd2f08c537ea1662f987901.tar.gz
libguestfs-d7569c00787fb92a8cd2f08c537ea1662f987901.tar.xz
libguestfs-d7569c00787fb92a8cd2f08c537ea1662f987901.zip
avoid warning about old-style no-param function definition
* daemon/df.c (do_df, do_df_h): Add "void". * sync.c (do_sync): Likewise.
Diffstat (limited to 'daemon/df.c')
-rw-r--r--daemon/df.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/df.c b/daemon/df.c
index ad662fa7..563760d2 100644
--- a/daemon/df.c
+++ b/daemon/df.c
@@ -28,7 +28,7 @@
#include "actions.h"
char *
-do_df ()
+do_df (void)
{
int r;
char *out, *err;
@@ -49,7 +49,7 @@ do_df ()
}
char *
-do_df_h ()
+do_df_h (void)
{
int r;
char *out, *err;