svn commit: r301649 - stable/9/usr.sbin/rpcbind
Garrett Cooper
ngie at FreeBSD.org
Wed Jun 8 17:13:58 UTC 2016
Author: ngie
Date: Wed Jun 8 17:13:57 2016
New Revision: 301649
URL: https://svnweb.freebsd.org/changeset/base/301649
Log:
MFstable/10 r301648:
MFC r300947:
Staticize variables only used in rpcbind.c
This is some low hanging fruit necessary for making this WARNS?= 6 clean
Modified:
stable/9/usr.sbin/rpcbind/rpcbind.c
Directory Properties:
stable/9/ (props changed)
stable/9/usr.sbin/ (props changed)
Modified: stable/9/usr.sbin/rpcbind/rpcbind.c
==============================================================================
--- stable/9/usr.sbin/rpcbind/rpcbind.c Wed Jun 8 17:13:28 2016 (r301648)
+++ stable/9/usr.sbin/rpcbind/rpcbind.c Wed Jun 8 17:13:57 2016 (r301649)
@@ -86,17 +86,17 @@ rpcblist_ptr list_rbl; /* A list of vers
#define RPCBINDDLOCK "/var/run/rpcbind.lock"
-int runasdaemon = 0;
+static int runasdaemon = 0;
int insecure = 0;
int oldstyle_local = 0;
int verboselog = 0;
-char **hosts = NULL;
-struct sockaddr **bound_sa;
-int ipv6_only = 0;
-int nhosts = 0;
-int on = 1;
-int rpcbindlockfd;
+static char **hosts = NULL;
+static struct sockaddr **bound_sa;
+static int ipv6_only = 0;
+static int nhosts = 0;
+static int on = 1;
+static int rpcbindlockfd;
#ifdef WARMSTART
/* Local Variable */
More information about the svn-src-stable-9
mailing list