X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=utils%2Fstatd%2Flog.c;h=a6ca996b6b81117f4d5db24de6e04f8bf1e744f6;hb=44e6972a6f9bb7a0a99114e0d22a66a3cba0f0f8;hp=408807ef7da51727a406e7e6ac826730ee5de33c;hpb=1408e610ac2db753543a546c4312b2eb6799f044;p=nfs-utils.git diff --git a/utils/statd/log.c b/utils/statd/log.c index 408807e..a6ca996 100644 --- a/utils/statd/log.c +++ b/utils/statd/log.c @@ -29,9 +29,11 @@ static pid_t mypid; /* Turns on logging to console/stderr. */ +#if 0 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);