mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 21:51:05 +00:00
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:
parent
e60ab84dd5
commit
1fd5115538
8 changed files with 155 additions and 163 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue