aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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