[IPV4] fib_rules.c: make struct fib_rules static again
authorAdrian Bunk <bunk@stusta.de>
Tue, 21 Mar 2006 01:46:56 +0000 (17:46 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 01:46:56 +0000 (17:46 -0800)
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>
net/ipv4/fib_rules.c

index 7b462a39aa4da9773015670e2c6b558a9d789656..768e8f5d7daa37e95863195d0418d0d77e6e0684 100644 (file)
@@ -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*/