summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter_bridge.h
diff options
context:
space:
mode:
authorJoe Perches2013-09-26 23:48:15 +0200
committerJoe Perches2013-09-26 23:48:15 +0200
commita0f4ecf3494c9869d20f606e7e2b2f50f0e67a7f (patch)
treedd4a24c0eddda03b87ad0fd873ba4b5ebbbab6cf /include/linux/netfilter_bridge.h
parentMerge branch 'bonding_neighbours' (diff)
downloadkernel-qcow2-linux-a0f4ecf3494c9869d20f606e7e2b2f50f0e67a7f.tar.gz
kernel-qcow2-linux-a0f4ecf3494c9869d20f606e7e2b2f50f0e67a7f.tar.xz
kernel-qcow2-linux-a0f4ecf3494c9869d20f606e7e2b2f50f0e67a7f.zip
netfilter: 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>
Diffstat (limited to 'include/linux/netfilter_bridge.h')
-rw-r--r--include/linux/netfilter_bridge.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/netfilter_bridge.h b/include/linux/netfilter_bridge.h
index dfb4d9e52bcb..8ab1c278b66d 100644
--- a/include/linux/netfilter_bridge.h
+++ b/include/linux/netfilter_bridge.h
@@ -25,7 +25,7 @@ enum nf_br_hook_priorities {
#define BRNF_PPPoE 0x20
/* Only used in br_forward.c */
-extern int nf_bridge_copy_header(struct sk_buff *skb);
+int nf_bridge_copy_header(struct sk_buff *skb);
static inline int nf_bridge_maybe_copy_header(struct sk_buff *skb)
{
if (skb->nf_bridge &&
@@ -53,7 +53,7 @@ static inline unsigned int nf_bridge_mtu_reduction(const struct sk_buff *skb)
return 0;
}
-extern int br_handle_frame_finish(struct sk_buff *skb);
+int br_handle_frame_finish(struct sk_buff *skb);
/* Only used in br_device.c */
static inline int br_nf_pre_routing_finish_bridge_slow(struct sk_buff *skb)
{