Thread (15 messages) 15 messages, 4 authors, 2013-08-01

Re: [PATCH 0/8] include/net: next set of extern removals

From: Joe Perches <joe@perches.com>
Date: 2013-08-01 16:29:23
Also in: linux-hams, linux-wireless, lkml

On Thu, 2013-08-01 at 13:04 +0100, David Howells wrote:
Joe Perches [off-list ref] wrote:
quoted
Standardize on no extern use on function prototypes
Can we please standardise on _having_ externs on function prototypes?
Why?

What value is there in using extern for function prototypes?

Your argument for "picking out at a glance"
https://lkml.org/lkml/2013/8/1/237
really doesn't make sense to me.

Basically, anything with parentheses that's not a #define
is an extern.

Exceptions exist for extern function pointers, but those
are fairly unusual anyway.  Outside of netfilter,
extern function pointers are only used about a dozen times
total in the kernel tree.

So, please provide some examples supporting your view.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help