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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=330514
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;