summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-11-20 16:56:48 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-02 21:26:15 -0800
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 84058858eea..7cdc914322f 100644
--- a/include/net/ipip.h
+++ b/include/net/ipip.h
@@ -44,8 +44,4 @@ struct ip_tunnel
} \
} 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 85ff3dc4514..77b7b091143 100644
--- a/net/ipv6/sit.c
+++ b/net/ipv6/sit.c
@@ -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;