compile under WARNS=6

This commit is contained in:
Philippe Charnier 2006-09-13 05:01:25 +00:00
parent d402d62c89
commit e55942e33c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162263
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);