aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/rpcbind
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2016-05-29 07:01:12 +0000
committerEnji Cooper <ngie@FreeBSD.org>2016-05-29 07:01:12 +0000
commit4eb767eab0f8d589d958bb8f037bfee67af4d681 (patch)
treecc5e8de831f85ae5114722aa2dca0913add7fd48 /usr.sbin/rpcbind
parent370b69af0f9c5e049d8c05e1593fc5f22ea3b64e (diff)
downloadsrc-4eb767eab0f8d589d958bb8f037bfee67af4d681.tar.gz
src-4eb767eab0f8d589d958bb8f037bfee67af4d681.zip
Notes
Diffstat (limited to 'usr.sbin/rpcbind')
-rw-r--r--usr.sbin/rpcbind/rpcbind.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/rpcbind/rpcbind.c b/usr.sbin/rpcbind/rpcbind.c
index 67c7f7b23ea6..b248bd39e95e 100644
--- a/usr.sbin/rpcbind/rpcbind.c
+++ b/usr.sbin/rpcbind/rpcbind.c
@@ -85,7 +85,7 @@ rpcblist_ptr list_rbl; /* A list of version 3/4 rpcbind services */
#define RPCBINDDLOCK "/var/run/rpcbind.lock"
-int runasdaemon = 0;
+static int runasdaemon = 0;
int insecure = 0;
int oldstyle_local = 0;
#ifdef LIBWRAP
@@ -93,12 +93,12 @@ int libwrap = 0;
#endif
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 */