net: Convert uses of typedef ctl_table to struct ctl_table
authorJoe Perches <joe@perches.com>
Wed, 12 Jun 2013 06:04:25 +0000 (23:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Jun 2013 09:36:09 +0000 (02:36 -0700)
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>

No differences found