[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>
diff --git a/include/net/ipip.h b/include/net/ipip.h
index 8405885..7cdc914 100644
--- a/include/net/ipip.h
+++ b/include/net/ipip.h
@@ -44,8 +44,4 @@
} \
} while (0)
-
-extern int sit_init(void);
-extern void sit_cleanup(void);
-
#endif
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c
index 85ff3dc..77b7b09 100644
--- a/net/ipv6/sit.c
+++ b/net/ipv6/sit.c
@@ -809,7 +809,7 @@
}
}
-void __exit sit_cleanup(void)
+static void __exit sit_cleanup(void)
{
inet_del_protocol(&sit_protocol, IPPROTO_IPV6);
@@ -819,7 +819,7 @@
rtnl_unlock();
}
-int __init sit_init(void)
+static int __init sit_init(void)
{
int err;