diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-01-22 03:18:38 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:10:27 -0500 |
commit | 2334ecbdb27bd1745c0fc6d05cce09ed9585e4c1 (patch) | |
tree | 58f31ad3d238fbb8e1073770f8f483ae2a752aa1 /include/net/ipv6.h | |
parent | 40fee36e11b49f92bc7c385bd45d7805c0127a34 (diff) |
[IPV6]: Sparse: Declare non-static ipv6_{route,icmp,frag}_sysctl_init() in header.
Fix the following sparse warnings:
| net/ipv6/route.c:2491:18: warning: symbol 'ipv6_route_sysctl_init' was not declared. Should it be static?
| net/ipv6/icmp.c:922:18: warning: symbol 'ipv6_icmp_sysctl_init' was not declared. Should it be static?
| net/ipv6/reassembly.c:628:6: warning: symbol 'ipv6_frag_sysctl_init' was not declared. Should it be static?
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'include/net/ipv6.h')
-rw-r--r-- | include/net/ipv6.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h index c8e8cb241090..3712caeae74e 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h | |||
@@ -586,6 +586,10 @@ extern int ip6_mc_msfget(struct sock *sk, struct group_filter *gsf, | |||
586 | int __user *optlen); | 586 | int __user *optlen); |
587 | 587 | ||
588 | #ifdef CONFIG_PROC_FS | 588 | #ifdef CONFIG_PROC_FS |
589 | extern struct ctl_table *ipv6_icmp_sysctl_init(struct net *net); | ||
590 | extern void ipv6_frag_sysctl_init(struct net *net); | ||
591 | extern struct ctl_table *ipv6_route_sysctl_init(struct net *net); | ||
592 | |||
589 | extern int ac6_proc_init(void); | 593 | extern int ac6_proc_init(void); |
590 | extern void ac6_proc_exit(void); | 594 | extern void ac6_proc_exit(void); |
591 | extern int raw6_proc_init(void); | 595 | extern int raw6_proc_init(void); |