compile under WARNS=6
This commit is contained in:
parent
200c31fad8
commit
5b67866b9a
@ -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 */
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user