aboutsummaryrefslogtreecommitdiffstats
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
parentinet: frag , remove an empty ifdef. (diff)
downloadlinux-dev-9e8cda3ba84e1b85ff11b5d31ac80a753e7f9547.tar.xz
linux-dev-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>
-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);