From d7569c00787fb92a8cd2f08c537ea1662f987901 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 17 Aug 2009 09:15:34 +0200 Subject: [PATCH] avoid warning about old-style no-param function definition * daemon/df.c (do_df, do_df_h): Add "void". * sync.c (do_sync): Likewise. --- daemon/df.c | 4 ++-- daemon/sync.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/daemon/df.c b/daemon/df.c index ad662fa..563760d 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; diff --git a/daemon/sync.c b/daemon/sync.c index b353b6c..e96bf03 100644 --- a/daemon/sync.c +++ b/daemon/sync.c @@ -24,7 +24,7 @@ #include "actions.h" int -do_sync () +do_sync (void) { sync (); return 0; -- 1.8.3.1