]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
icmp.h: Remove extern from function prototypes
authorJoe Perches <joe@perches.com>
Fri, 20 Sep 2013 18:23:28 +0000 (11:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Sep 2013 18:49:33 +0000 (14:49 -0400)
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>
include/net/icmp.h

index 081439fd070ed7ce932ff1e1877398d1d119207c..970028e13382807108764f8784d9b1f11d7078d7 100644 (file)
@@ -39,10 +39,10 @@ struct net_proto_family;
 struct sk_buff;
 struct net;
 
-extern void    icmp_send(struct sk_buff *skb_in,  int type, int code, __be32 info);
-extern int     icmp_rcv(struct sk_buff *skb);
-extern void    icmp_err(struct sk_buff *, u32 info);
-extern int     icmp_init(void);
-extern void    icmp_out_count(struct net *net, unsigned char type);
+void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info);
+int icmp_rcv(struct sk_buff *skb);
+void icmp_err(struct sk_buff *skb, u32 info);
+int icmp_init(void);
+void icmp_out_count(struct net *net, unsigned char type);
 
 #endif /* _ICMP_H */