Commit 89c89458152c4d387eeca6532b6e50780fc59f8b

Authored by Adrian Bunk
Committed by David S. Miller
1 parent 1459bb36b1

[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

... ... @@ -44,9 +44,5 @@
44 44 } \
45 45 } while (0)
46 46  
47   -
48   -extern int sit_init(void);
49   -extern void sit_cleanup(void);
50   -
51 47 #endif
... ... @@ -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