diff options
author | charnier <charnier@FreeBSD.org> | 2006-09-13 05:01:25 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2006-09-13 05:01:25 +0000 |
commit | 5b67866b9ac80b4f9e6a84d1ed9a40a3c26fddd7 (patch) | |
tree | daa29c6b4e59983e8ebb130ebd338173dd71256b | |
parent | 200c31fad8f45e4d1c18e82da3877326df0aceb4 (diff) | |
download | FreeBSD-src-5b67866b9ac80b4f9e6a84d1ed9a40a3c26fddd7.zip FreeBSD-src-5b67866b9ac80b4f9e6a84d1ed9a40a3c26fddd7.tar.gz |
compile under WARNS=6
-rw-r--r-- | usr.sbin/rpc.statd/procs.c | 7 | ||||
-rw-r--r-- | usr.sbin/rpc.statd/statd.c | 1 |
2 files changed, 3 insertions, 5 deletions
diff --git a/usr.sbin/rpc.statd/procs.c b/usr.sbin/rpc.statd/procs.c index 5a56441..65932fc 100644 --- a/usr.sbin/rpc.statd/procs.c +++ b/usr.sbin/rpc.statd/procs.c @@ -31,10 +31,8 @@ * */ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif /* not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <errno.h> #include <stdio.h> @@ -329,6 +327,7 @@ void *sm_simu_crash_1_svc(void *v __unused, struct svc_req *req __unused) HostInfo *hp; int i; + work_to_do = FALSE; if (debug) syslog(LOG_DEBUG, "simu_crash called!!"); /* Simulate crash by setting notify-required flag on all monitored */ diff --git a/usr.sbin/rpc.statd/statd.c b/usr.sbin/rpc.statd/statd.c index 507a027..b8212ce 100644 --- a/usr.sbin/rpc.statd/statd.c +++ b/usr.sbin/rpc.statd/statd.c @@ -53,7 +53,6 @@ __FBSDID("$FreeBSD$"); int debug = 0; /* Controls syslog() calls for debug messages */ -extern void sm_prog_1(struct svc_req *rqstp, SVCXPRT *transp); static void handle_sigchld(int sig); static void usage(void); |