diff options
author | Joe Perches <joe@perches.com> | 2013-09-20 14:23:28 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-20 14:49:33 -0400 |
commit | e60ab84dd59cc0ddb46a7696a56f9de8b8b22f39 (patch) | |
tree | 42de5d88a72f009010a6c00fda303d3eaba00633 /include/net/icmp.h | |
parent | ff2b94d2c3d075d0f2fde330e3b5a73053c426c7 (diff) |
icmp.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>
Diffstat (limited to 'include/net/icmp.h')
-rw-r--r-- | include/net/icmp.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/net/icmp.h b/include/net/icmp.h index 081439fd070e..970028e13382 100644 --- a/include/net/icmp.h +++ b/include/net/icmp.h | |||
@@ -39,10 +39,10 @@ struct net_proto_family; | |||
39 | struct sk_buff; | 39 | struct sk_buff; |
40 | struct net; | 40 | struct net; |
41 | 41 | ||
42 | extern void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info); | 42 | void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info); |
43 | extern int icmp_rcv(struct sk_buff *skb); | 43 | int icmp_rcv(struct sk_buff *skb); |
44 | extern void icmp_err(struct sk_buff *, u32 info); | 44 | void icmp_err(struct sk_buff *skb, u32 info); |
45 | extern int icmp_init(void); | 45 | int icmp_init(void); |
46 | extern void icmp_out_count(struct net *net, unsigned char type); | 46 | void icmp_out_count(struct net *net, unsigned char type); |
47 | 47 | ||
48 | #endif /* _ICMP_H */ | 48 | #endif /* _ICMP_H */ |