rpc.sprayd: raise WARNS to 6

MFC after:	3 weeks
This commit is contained in:
Alan Somers 2018-03-05 16:11:07 +00:00
parent 99e159dcf6
commit ea8727d50d
2 changed files with 3 additions and 5 deletions

View File

@ -6,6 +6,4 @@ MAN = rpc.sprayd.8
LIBADD= rpcsvc
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -58,21 +58,21 @@ static int from_inetd = 1;
#define TIMEOUT 120
void
static void
cleanup(int sig __unused)
{
(void)rpcb_unset(SPRAYPROG, SPRAYVERS, NULL);
exit(0);
}
void
static void
die(int sig __unused)
{
exit(0);
}
int
main(int argc, char *argv[])
main(int argc __unused, char *argv[] __unused)
{
SVCXPRT *transp;
int ok;