summaryrefslogtreecommitdiff
path: root/include/net/ipv6.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-06-13 19:37:53 -0700
committerDavid S. Miller <davem@davemloft.net>2013-06-19 23:18:07 -0700
commit9e8cda3ba84e1b85ff11b5d31ac80a753e7f9547 (patch)
treedebec68959f904415c1a75a770930a9b2b422ce8 /include/net/ipv6.h
parentaf92e5425e4a7cfbc9b85dc268acfaadb551cc56 (diff)
downloadlwn-9e8cda3ba84e1b85ff11b5d31ac80a753e7f9547.tar.gz
lwn-9e8cda3ba84e1b85ff11b5d31ac80a753e7f9547.zip
ipv6: Convert use of typedef ctl_table to struct ctl_table
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ipv6.h')
-rw-r--r--include/net/ipv6.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h
index ab47582f6c0b..5fe564985171 100644
--- a/include/net/ipv6.h
+++ b/include/net/ipv6.h
@@ -859,8 +859,8 @@ static inline int snmp6_unregister_dev(struct inet6_dev *idev) { return 0; }
#endif
#ifdef CONFIG_SYSCTL
-extern ctl_table ipv6_route_table_template[];
-extern ctl_table ipv6_icmp_table_template[];
+extern struct ctl_table ipv6_route_table_template[];
+extern struct ctl_table ipv6_icmp_table_template[];
extern struct ctl_table *ipv6_icmp_sysctl_init(struct net *net);
extern struct ctl_table *ipv6_route_sysctl_init(struct net *net);