From 35e5e8b3d782ed857a8f32ac2981432f933b3add Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 23 Apr 2009 13:39:19 -0700 Subject: [PATCH] brcompatd: Make vars used only in brcompatd.c "static". --- vswitchd/brcompatd.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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; -- 2.30.2