aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-11-20 19:56:48 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 00:26:15 -0500
commit89c89458152c4d387eeca6532b6e50780fc59f8b (patch)
tree3c893308b4da045b44a9df06300e3ff8a3ce38d8
parent1459bb36b12ac52bde68d70e2ba7a6f1f2e8be17 (diff)
[IPV6] net/ipv6/sit.c: make 2 functions static
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>
-rw-r--r--include/net/ipip.h4
-rw-r--r--net/ipv6/sit.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/include/net/ipip.h b/include/net/ipip.h
index 84058858eea7..7cdc914322f0 100644
--- a/include/net/ipip.h
+++ b/include/net/ipip.h
@@ -44,8 +44,4 @@ struct ip_tunnel
44 } \ 44 } \
45} while (0) 45} while (0)
46 46
47
48extern int sit_init(void);
49extern void sit_cleanup(void);
50
51#endif 47#endif
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c
index 85ff3dc45148..77b7b0911438 100644
--- a/net/ipv6/sit.c
+++ b/net/ipv6/sit.c
@@ -809,7 +809,7 @@ static void __exit sit_destroy_tunnels(void)
809 } 809 }
810} 810}
811 811
812void __exit sit_cleanup(void) 812static void __exit sit_cleanup(void)
813{ 813{
814 inet_del_protocol(&sit_protocol, IPPROTO_IPV6); 814 inet_del_protocol(&sit_protocol, IPPROTO_IPV6);
815 815
@@ -819,7 +819,7 @@ void __exit sit_cleanup(void)
819 rtnl_unlock(); 819 rtnl_unlock();
820} 820}
821 821
822int __init sit_init(void) 822static int __init sit_init(void)
823{ 823{
824 int err; 824 int err;
825 825