compile under WARNS=6

This commit is contained in:
charnier 2006-09-13 05:01:25 +00:00
parent 200c31fad8
commit 5b67866b9a
2 changed files with 3 additions and 5 deletions

View File

@ -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 */

View File

@ -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);