Commit 89c89458 authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller

[IPV6] net/ipv6/sit.c: make 2 functions static

This patch makes two needlessly global functions static.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1459bb36
...@@ -44,8 +44,4 @@ struct ip_tunnel ...@@ -44,8 +44,4 @@ struct ip_tunnel
} \ } \
} while (0) } while (0)
extern int sit_init(void);
extern void sit_cleanup(void);
#endif #endif
...@@ -809,7 +809,7 @@ static void __exit sit_destroy_tunnels(void) ...@@ -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); inet_del_protocol(&sit_protocol, IPPROTO_IPV6);
...@@ -819,7 +819,7 @@ void __exit sit_cleanup(void) ...@@ -819,7 +819,7 @@ void __exit sit_cleanup(void)
rtnl_unlock(); rtnl_unlock();
} }
int __init sit_init(void) static int __init sit_init(void)
{ {
int err; int err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment