]> err.no Git - linux-2.6/commitdiff
[IPV6] net/ipv6/sit.c: make 2 functions static
authorAdrian Bunk <bunk@stusta.de>
Tue, 21 Nov 2006 00:56:48 +0000 (16:56 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:26:15 +0000 (21:26 -0800)
This patch makes two needlessly global functions static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ipip.h
net/ipv6/sit.c

index 84058858eea7bbe20b36bfe1667541d09e592da8..7cdc914322f0c490fbed511fbddd6b7f167a0eba 100644 (file)
@@ -44,8 +44,4 @@ struct ip_tunnel
        }                                                               \
 } while (0)
 
-
-extern int     sit_init(void);
-extern void    sit_cleanup(void);
-
 #endif
index 85ff3dc45148eb48c9b1e34ed9b1a6777b251ea7..77b7b091143887b1cf5528365453e9ed696a17eb 100644 (file)
@@ -809,7 +809,7 @@ static void __exit sit_destroy_tunnels(void)
        }
 }
 
-void __exit sit_cleanup(void)
+static void __exit sit_cleanup(void)
 {
        inet_del_protocol(&sit_protocol, IPPROTO_IPV6);
 
@@ -819,7 +819,7 @@ void __exit sit_cleanup(void)
        rtnl_unlock();
 }
 
-int __init sit_init(void)
+static int __init sit_init(void)
 {
        int err;