Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Mar 2018 16:11:07 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r330514 - head/libexec/rpc.sprayd
Message-ID:  <201803051611.w25GB72e052107@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803051611.w25GB72e052107>