From: Ben Pfaff Date: Thu, 23 Apr 2009 20:39:19 +0000 (-0700) Subject: brcompatd: Make vars used only in brcompatd.c "static". X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35e5e8b3d782ed857a8f32ac2981432f933b3add;p=openvswitch brcompatd: Make vars used only in brcompatd.c "static". --- diff --git a/vswitchd/brcompatd.c b/vswitchd/brcompatd.c index 6054bb46..929f8387 100644 --- a/vswitchd/brcompatd.c +++ b/vswitchd/brcompatd.c @@ -76,23 +76,23 @@ static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(5, 60); /* Maximum number of milliseconds to wait for the config file to be * unlocked. If set to zero, no waiting will occur. */ -int lock_timeout = 500; +static int lock_timeout = 500; /* Maximum number of milliseconds to wait before pruning port entries that * no longer exist. If set to zero, ports are never pruned. */ -int prune_timeout = 5000; +static int prune_timeout = 5000; /* Config file shared with vswitchd (usually vswitchd.conf). */ -char *config_file; +static char *config_file; /* Filename containing vswitchd pid. */ -char *vswitchd_pidfile; +static char *vswitchd_pidfile; /* Netlink socket to listen for interface changes. */ -struct nl_sock *rtnl_sock; +static struct nl_sock *rtnl_sock; /* Netlink socket to bridge compatibility kernel module. */ -struct nl_sock *brc_sock; +static struct nl_sock *brc_sock; /* The Generic Netlink family number used for bridge compatibility. */ static int brc_family;