X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fstatd%2Flog.c;h=a6ca996b6b81117f4d5db24de6e04f8bf1e744f6;hp=408807ef7da51727a406e7e6ac826730ee5de33c;hb=5835b1eec5a1f1e463c0762c510c6643fa2bff62;hpb=ac5b03be829b4c9369ebfb07a688308721103228 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);