[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130613.023634.1372572014231224544.davem@davemloft.net>
Date: Thu, 13 Jun 2013 02:36:34 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: joe@...ches.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net: Convert uses of typedef ctl_table to
struct ctl_table
From: Joe Perches <joe@...ches.com>
Date: Tue, 11 Jun 2013 23:04:25 -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@...ches.com>
Applied, thanks Joe.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists