inet*.h: Remove extern from function prototypes

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.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Joe Perches 2013-09-21 10:22:41 -07:00 committed by David S. Miller
parent e60ab84dd5
commit 1fd5115538
8 changed files with 155 additions and 163 deletions

View file

@ -199,11 +199,11 @@ static inline void inet_sk_copy_descendant(struct sock *sk_to,
}
#endif
extern int inet_sk_rebuild_header(struct sock *sk);
int inet_sk_rebuild_header(struct sock *sk);
extern u32 inet_ehash_secret;
extern u32 ipv6_hash_secret;
extern void build_ehash_secret(void);
void build_ehash_secret(void);
static inline unsigned int inet_ehashfn(struct net *net,
const __be32 laddr, const __u16 lport,