aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-03-20 17:46:56 -0800
committerDavid S. Miller <davem@davemloft.net>2006-03-20 17:46:56 -0800
commitd15150f755bb468afe003d1afee0f45a2fc5eeeb (patch)
tree68ad3da556162faaf63a7958c7906d30f2cea142 /net
parent2b191befe2c47c2f6e96b836a1f6054c9cbc4a0b (diff)
[IPV4] fib_rules.c: make struct fib_rules static again
struct fib_rules became global for no good reason. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/fib_rules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/fib_rules.c b/net/ipv4/fib_rules.c
index 7b462a39aa4..768e8f5d7da 100644
--- a/net/ipv4/fib_rules.c
+++ b/net/ipv4/fib_rules.c
@@ -100,7 +100,7 @@ static struct fib_rule local_rule = {
.r_action = RTN_UNICAST,
};
-struct hlist_head fib_rules;
+static struct hlist_head fib_rules;
/* writer func called from netlink -- rtnl_sem hold*/