Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2018 16:27:08 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r332605 - stable/11/libexec/rpc.sprayd
Message-ID:  <201804161627.w3GGR8nw099281@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: asomers
Date: Mon Apr 16 16:27:08 2018
New Revision: 332605
URL: https://svnweb.freebsd.org/changeset/base/332605

Log:
  MFC r330514:
  
  rpc.sprayd: raise WARNS to 6

Modified:
  stable/11/libexec/rpc.sprayd/Makefile
  stable/11/libexec/rpc.sprayd/sprayd.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/libexec/rpc.sprayd/Makefile
==============================================================================
--- stable/11/libexec/rpc.sprayd/Makefile	Mon Apr 16 16:25:42 2018	(r332604)
+++ stable/11/libexec/rpc.sprayd/Makefile	Mon Apr 16 16:27:08 2018	(r332605)
@@ -6,6 +6,4 @@ MAN =	rpc.sprayd.8
 
 LIBADD=	rpcsvc
 
-WARNS?=	2
-
 .include <bsd.prog.mk>

Modified: stable/11/libexec/rpc.sprayd/sprayd.c
==============================================================================
--- stable/11/libexec/rpc.sprayd/sprayd.c	Mon Apr 16 16:25:42 2018	(r332604)
+++ stable/11/libexec/rpc.sprayd/sprayd.c	Mon Apr 16 16:27:08 2018	(r332605)
@@ -61,21 +61,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?201804161627.w3GGR8nw099281>