summaryrefslogtreecommitdiffstats
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
parenta4023dd01a37f3a648ea028269f946cb55896337 (diff)
downloadop-kernel-dev-7b3852a2fdd86238709038654f010befca5b47c3.zip
op-kernel-dev-7b3852a2fdd86238709038654f010befca5b47c3.tar.gz
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>
-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 d584513..1356dda 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;
OpenPOWER on IntegriCloud