Skip to content

Commit 9e8cda3

Browse files
JoePerchesdavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent af92e54 commit 9e8cda3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/net/ipv6.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -859,8 +859,8 @@ static inline int snmp6_unregister_dev(struct inet6_dev *idev) { return 0; }
859859
#endif
860860

861861
#ifdef CONFIG_SYSCTL
862-
extern ctl_table ipv6_route_table_template[];
863-
extern ctl_table ipv6_icmp_table_template[];
862+
extern struct ctl_table ipv6_route_table_template[];
863+
extern struct ctl_table ipv6_icmp_table_template[];
864864

865865
extern struct ctl_table *ipv6_icmp_sysctl_init(struct net *net);
866866
extern struct ctl_table *ipv6_route_sysctl_init(struct net *net);

0 commit comments

Comments
 (0)