compile under WARNS=6
This commit is contained in:
parent
d402d62c89
commit
e55942e33c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162263
@ -31,10 +31,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lint
|
#include <sys/cdefs.h>
|
||||||
static const char rcsid[] =
|
__FBSDID("$FreeBSD$");
|
||||||
"$FreeBSD$";
|
|
||||||
#endif /* not lint */
|
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@ -329,6 +327,7 @@ void *sm_simu_crash_1_svc(void *v __unused, struct svc_req *req __unused)
|
|||||||
HostInfo *hp;
|
HostInfo *hp;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
work_to_do = FALSE;
|
||||||
if (debug) syslog(LOG_DEBUG, "simu_crash called!!");
|
if (debug) syslog(LOG_DEBUG, "simu_crash called!!");
|
||||||
|
|
||||||
/* Simulate crash by setting notify-required flag on all monitored */
|
/* 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 */
|
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 handle_sigchld(int sig);
|
||||||
static void usage(void);
|
static void usage(void);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user