aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter_ipv6.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-26 14:48:15 -0700
committerJoe Perches <joe@perches.com>2013-09-26 14:48:15 -0700
commita0f4ecf3494c9869d20f606e7e2b2f50f0e67a7f (patch)
treedd4a24c0eddda03b87ad0fd873ba4b5ebbbab6cf /include/linux/netfilter_ipv6.h
parentMerge branch 'bonding_neighbours' (diff)
downloadlinux-dev-a0f4ecf3494c9869d20f606e7e2b2f50f0e67a7f.tar.xz
linux-dev-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_ipv6.h')
-rw-r--r--include/linux/netfilter_ipv6.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/netfilter_ipv6.h b/include/linux/netfilter_ipv6.h
index 2d4df6ce043e..64dad1cc1a4b 100644
--- a/include/linux/netfilter_ipv6.h
+++ b/include/linux/netfilter_ipv6.h
@@ -11,12 +11,12 @@
#ifdef CONFIG_NETFILTER
-extern int ip6_route_me_harder(struct sk_buff *skb);
-extern __sum16 nf_ip6_checksum(struct sk_buff *skb, unsigned int hook,
- unsigned int dataoff, u_int8_t protocol);
+int ip6_route_me_harder(struct sk_buff *skb);
+__sum16 nf_ip6_checksum(struct sk_buff *skb, unsigned int hook,
+ unsigned int dataoff, u_int8_t protocol);
-extern int ipv6_netfilter_init(void);
-extern void ipv6_netfilter_fini(void);
+int ipv6_netfilter_init(void);
+void ipv6_netfilter_fini(void);
/*
* Hook functions for ipv6 to allow xt_* modules to be built-in even