Commit e60ab84d authored by Joe Perches's avatar Joe Perches Committed by David S. Miller

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: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ff2b94d2
...@@ -39,10 +39,10 @@ struct net_proto_family; ...@@ -39,10 +39,10 @@ struct net_proto_family;
struct sk_buff; struct sk_buff;
struct net; struct net;
extern void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info); void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info);
extern int icmp_rcv(struct sk_buff *skb); int icmp_rcv(struct sk_buff *skb);
extern void icmp_err(struct sk_buff *, u32 info); void icmp_err(struct sk_buff *skb, u32 info);
extern int icmp_init(void); int icmp_init(void);
extern void icmp_out_count(struct net *net, unsigned char type); void icmp_out_count(struct net *net, unsigned char type);
#endif /* _ICMP_H */ #endif /* _ICMP_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment