svn commit: r330514 - head/libexec/rpc.sprayd
Alan Somers
asomers at FreeBSD.org
Mon Mar 5 16:11:08 UTC 2018
Author: asomers
Date: Mon Mar 5 16:11:07 2018
New Revision: 330514
URL: https://svnweb.freebsd.org/changeset/base/330514
Log:
rpc.sprayd: raise WARNS to 6
MFC after: 3 weeks
Modified:
head/libexec/rpc.sprayd/Makefile
head/libexec/rpc.sprayd/sprayd.c
Modified: head/libexec/rpc.sprayd/Makefile
==============================================================================
--- head/libexec/rpc.sprayd/Makefile Mon Mar 5 16:07:55 2018 (r330513)
+++ head/libexec/rpc.sprayd/Makefile Mon Mar 5 16:11:07 2018 (r330514)
@@ -6,6 +6,4 @@ MAN = rpc.sprayd.8
LIBADD= rpcsvc
-WARNS?= 2
-
.include <bsd.prog.mk>
Modified: head/libexec/rpc.sprayd/sprayd.c
==============================================================================
--- head/libexec/rpc.sprayd/sprayd.c Mon Mar 5 16:07:55 2018 (r330513)
+++ head/libexec/rpc.sprayd/sprayd.c Mon Mar 5 16:11:07 2018 (r330514)
@@ -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;
More information about the svn-src-head
mailing list