lkml.org 
[lkml]   [2013]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 01/12] tcp.h: Remove extern from function prototypes
From
From: Joe Perches <joe@perches.com>
Date: Mon, 23 Sep 2013 13:44:02 -0700

> On Mon, 2013-09-23 at 16:30 -0400, David Miller wrote:
>> Series applied,
>
> How about the same changes for the .h files in drivers/net ?
>
> (slowly of course, and by maintained subsystem)
>
> $ git grep -E "^\s*\bextern(\s+\w+){1,4}\s*\(\s*[^\*]" drivers/net/ | wc -l
> 1445
>
> Maybe something like groups of:
> $ git grep -E --name-only "^\s*\bextern(\s+\w+){1,4}\s*\(\s*[^\*]" drivers/net/ | \
> cut -f3- -d"/" | cut -f1,2 -d"/" | uniq | \
> while read file ; do if [ -d drivers/net/$file ] ; then echo $file ; fi ; done

Sure.


\
 
 \ /
  Last update: 2013-09-23 23:01    [W:0.116 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site