aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/sysctl_net_ipv6.c
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2008-01-22 03:18:38 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:10:27 -0500
commit2334ecbdb27bd1745c0fc6d05cce09ed9585e4c1 (patch)
tree58f31ad3d238fbb8e1073770f8f483ae2a752aa1 /net/ipv6/sysctl_net_ipv6.c
parent40fee36e11b49f92bc7c385bd45d7805c0127a34 (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 'net/ipv6/sysctl_net_ipv6.c')
-rw-r--r--net/ipv6/sysctl_net_ipv6.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv6/sysctl_net_ipv6.c b/net/ipv6/sysctl_net_ipv6.c
index 5e0af4d46324..7197eb74a755 100644
--- a/net/ipv6/sysctl_net_ipv6.c
+++ b/net/ipv6/sysctl_net_ipv6.c
@@ -14,9 +14,6 @@
14#include <net/addrconf.h> 14#include <net/addrconf.h>
15#include <net/inet_frag.h> 15#include <net/inet_frag.h>
16 16
17extern struct ctl_table *ipv6_route_sysctl_init(struct net *net);
18extern struct ctl_table *ipv6_icmp_sysctl_init(struct net *net);
19
20static ctl_table ipv6_table_template[] = { 17static ctl_table ipv6_table_template[] = {
21 { 18 {
22 .ctl_name = NET_IPV6_ROUTE, 19 .ctl_name = NET_IPV6_ROUTE,