aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/esp.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-20 11:23:22 -0700
committerDavid S. Miller <davem@davemloft.net>2013-09-20 14:49:32 -0400
commit7b3852a2fdd86238709038654f010befca5b47c3 (patch)
tree4b9592c543ce1ac87c422460c72e89670958761f /include/net/esp.h
parentdst.h: Remove extern from function prototypes (diff)
downloadlinux-dev-7b3852a2fdd86238709038654f010befca5b47c3.tar.xz
linux-dev-7b3852a2fdd86238709038654f010befca5b47c3.zip
esp.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/esp.h')
-rw-r--r--include/net/esp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/esp.h b/include/net/esp.h
index d58451331dbd..1356dda00d22 100644
--- a/include/net/esp.h
+++ b/include/net/esp.h
@@ -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;