[IPV6]: Make struct ip6_prohibit_entry_template static.
authorAdrian Bunk <bunk@kernel.org>
Mon, 21 Apr 2008 09:29:32 +0000 (02:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Apr 2008 09:29:32 +0000 (02:29 -0700)
This patch makes the needlessly global struct
ip6_prohibit_entry_template static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c

index 210a079cfc6f44261cc621b1ce827f6bed2af935..1f42bc960bd52d244f6ad7233ff90bc4fb85e667 100644 (file)
@@ -150,7 +150,7 @@ static struct rt6_info ip6_null_entry_template = {
 static int ip6_pkt_prohibit(struct sk_buff *skb);
 static int ip6_pkt_prohibit_out(struct sk_buff *skb);
 
-struct rt6_info ip6_prohibit_entry_template = {
+static struct rt6_info ip6_prohibit_entry_template = {
        .u = {
                .dst = {
                        .__refcnt       = ATOMIC_INIT(1),