Thread (19 messages) read the whole thread 19 messages, 6 authors, 2013-09-28

Re: [PATCH 11/12] netfilter: Remove extern from function prototypes

From: Jan Engelhardt <hidden>
Date: 2013-09-28 19:17:58
Also in: lkml, netfilter-devel

On Monday 2013-09-23 20:37, Joe Perches wrote:
There are a mix of function prototypes with and without extern
in the kernel sources.  Standardize on not using extern for
function prototypes.

Function prototypes don't need to be written with extern.
extern is assumed by the compiler.  Its use is as unnecessary as
using auto to declare automatic/local variables in a block.
Or you could just extern all functions for consistency with variables.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help