summaryrefslogtreecommitdiffstats
path: root/utils/statd/log.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2007-07-29 17:20:10 +1000
committerNeil Brown <neilb@suse.de>2007-07-29 17:20:10 +1000
commit5835b1eec5a1f1e463c0762c510c6643fa2bff62 (patch)
tree7a8b95c1b9b1273be2272a2dd9302265f9839e4d /utils/statd/log.c
parentdd087896285da9e160e13ee9f7d75381b67895e3 (diff)
downloadnfs-utils-5835b1eec5a1f1e463c0762c510c6643fa2bff62.tar.gz
nfs-utils-5835b1eec5a1f1e463c0762c510c6643fa2bff62.tar.xz
nfs-utils-5835b1eec5a1f1e463c0762c510c6643fa2bff62.zip
Add -Wstrict-prototypes to compiler args, and fix warnings caused.
Diffstat (limited to 'utils/statd/log.c')
-rw-r--r--utils/statd/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/statd/log.c b/utils/statd/log.c
index bf2a926..a6ca996 100644
--- a/utils/statd/log.c
+++ b/utils/statd/log.c
@@ -33,7 +33,7 @@ static pid_t mypid;
static int opt_debug = 0; /* Will be command-line option, eventually */
#endif
-void log_init()
+void log_init(void)
{
if (!(run_mode & MODE_LOG_STDERR))
openlog(name_p, LOG_PID | LOG_NDELAY, LOG_DAEMON);