net: Convert uses of typedef ctl_table to struct ctl_table
Reduce the uses of this unnecessary typedef. Done via perl script: $ git grep --name-only -w ctl_table net | \ xargs perl -p -i -e '\ sub trim { my ($local) = @_; $local =~ s/(^\s+|\s+$)//g; return $local; } \ s/\b(?<!struct\s)ctl_table\b(\s*\*\s*|\s+\w+)/"struct ctl_table " . trim($1)/ge' Reflow the modified lines that now exceed 80 columns. Signed-off-by:Joe Perches <joe@perches.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- net/ax25/sysctl_net_ax25.c 1 addition, 1 deletionnet/ax25/sysctl_net_ax25.c
- net/bridge/br_netfilter.c 2 additions, 2 deletionsnet/bridge/br_netfilter.c
- net/core/neighbour.c 3 additions, 3 deletionsnet/core/neighbour.c
- net/core/sysctl_net_core.c 4 additions, 4 deletionsnet/core/sysctl_net_core.c
- net/decnet/dn_dev.c 3 additions, 3 deletionsnet/decnet/dn_dev.c
- net/decnet/sysctl_net_decnet.c 3 additions, 3 deletionsnet/decnet/sysctl_net_decnet.c
- net/ipv4/devinet.c 3 additions, 3 deletionsnet/ipv4/devinet.c
- net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c 1 addition, 1 deletionnet/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
- net/ipv4/route.c 2 additions, 2 deletionsnet/ipv4/route.c
- net/ipv4/sysctl_net_ipv4.c 16 additions, 15 deletionsnet/ipv4/sysctl_net_ipv4.c
- net/ipv6/addrconf.c 5 additions, 5 deletionsnet/ipv6/addrconf.c
- net/ipv6/icmp.c 1 addition, 1 deletionnet/ipv6/icmp.c
- net/ipv6/route.c 2 additions, 2 deletionsnet/ipv6/route.c
- net/ipv6/sysctl_net_ipv6.c 2 additions, 2 deletionsnet/ipv6/sysctl_net_ipv6.c
- net/irda/irsysctl.c 3 additions, 3 deletionsnet/irda/irsysctl.c
- net/netfilter/ipvs/ip_vs_ctl.c 4 additions, 4 deletionsnet/netfilter/ipvs/ip_vs_ctl.c
- net/netfilter/ipvs/ip_vs_lblc.c 1 addition, 1 deletionnet/netfilter/ipvs/ip_vs_lblc.c
- net/netfilter/ipvs/ip_vs_lblcr.c 1 addition, 1 deletionnet/netfilter/ipvs/ip_vs_lblcr.c
- net/netfilter/nf_conntrack_standalone.c 2 additions, 2 deletionsnet/netfilter/nf_conntrack_standalone.c
- net/netfilter/nf_log.c 1 addition, 1 deletionnet/netfilter/nf_log.c
Please register or sign in to comment