Staticize variables only used in rpcbind.c

This is some low hanging fruit necessary for making this WARNS?= 6 clean

MFC after: 3 days
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2016-05-29 07:01:12 +00:00
parent 370b69af0f
commit 4eb767eab0

View File

@ -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 */