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:
parent
370b69af0f
commit
4eb767eab0
@ -85,7 +85,7 @@ rpcblist_ptr list_rbl; /* A list of version 3/4 rpcbind services */
|
|||||||
|
|
||||||
#define RPCBINDDLOCK "/var/run/rpcbind.lock"
|
#define RPCBINDDLOCK "/var/run/rpcbind.lock"
|
||||||
|
|
||||||
int runasdaemon = 0;
|
static int runasdaemon = 0;
|
||||||
int insecure = 0;
|
int insecure = 0;
|
||||||
int oldstyle_local = 0;
|
int oldstyle_local = 0;
|
||||||
#ifdef LIBWRAP
|
#ifdef LIBWRAP
|
||||||
@ -93,12 +93,12 @@ int libwrap = 0;
|
|||||||
#endif
|
#endif
|
||||||
int verboselog = 0;
|
int verboselog = 0;
|
||||||
|
|
||||||
char **hosts = NULL;
|
static char **hosts = NULL;
|
||||||
struct sockaddr **bound_sa;
|
static struct sockaddr **bound_sa;
|
||||||
int ipv6_only = 0;
|
static int ipv6_only = 0;
|
||||||
int nhosts = 0;
|
static int nhosts = 0;
|
||||||
int on = 1;
|
static int on = 1;
|
||||||
int rpcbindlockfd;
|
static int rpcbindlockfd;
|
||||||
|
|
||||||
#ifdef WARMSTART
|
#ifdef WARMSTART
|
||||||
/* Local Variable */
|
/* Local Variable */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user