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

index d58451331dbde8a0d9b4231a61bd4957f62cdeec..1356dda00d22f9cd3fad3ea0eb625b667f76c017 100644 (file)
@@ -13,7 +13,7 @@ struct esp_data {
        struct crypto_aead *aead;
 };
 
-extern void *pskb_put(struct sk_buff *skb, struct sk_buff *tail, int len);
+void *pskb_put(struct sk_buff *skb, struct sk_buff *tail, int len);
 
 struct ip_esp_hdr;