Commit 89c89458152c4d387eeca6532b6e50780fc59f8b
Committed by
David S. Miller
1 parent
1459bb36b1
Exists in
master
and in
7 other branches
[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>
Showing 2 changed files with 2 additions and 6 deletions Side-by-side Diff
include/net/ipip.h
net/ipv6/sit.c
... | ... | @@ -809,7 +809,7 @@ |
809 | 809 | } |
810 | 810 | } |
811 | 811 | |
812 | -void __exit sit_cleanup(void) | |
812 | +static void __exit sit_cleanup(void) | |
813 | 813 | { |
814 | 814 | inet_del_protocol(&sit_protocol, IPPROTO_IPV6); |
815 | 815 | |
... | ... | @@ -819,7 +819,7 @@ |
819 | 819 | rtnl_unlock(); |
820 | 820 | } |
821 | 821 | |
822 | -int __init sit_init(void) | |
822 | +static int __init sit_init(void) | |
823 | 823 | { |
824 | 824 | int err; |
825 | 825 |