diff options
author | Joe Perches <joe@perches.com> | 2013-09-23 18:37:48 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-23 20:29:42 (GMT) |
commit | 4e77be4637641c92468dd5de39cba774bed7d6ba (patch) | |
tree | 0b7442c7ab269f5d3a00dd260fd12b267ae1d030 /include/net/netfilter/nf_nat_core.h | |
parent | 0e418f94d3fcdc79c88841f3338e768e1b0966a1 (diff) | |
download | linux-fsl-qoriq-4e77be4637641c92468dd5de39cba774bed7d6ba.tar.xz |
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netfilter/nf_nat_core.h')
-rw-r--r-- | include/net/netfilter/nf_nat_core.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/net/netfilter/nf_nat_core.h b/include/net/netfilter/nf_nat_core.h index 972e1e4..fbfd1ba 100644 --- a/include/net/netfilter/nf_nat_core.h +++ b/include/net/netfilter/nf_nat_core.h @@ -7,12 +7,10 @@ /* This header used to share core functionality between the standalone NAT module, and the compatibility layer's use of NAT for masquerading. */ -extern unsigned int nf_nat_packet(struct nf_conn *ct, - enum ip_conntrack_info ctinfo, - unsigned int hooknum, - struct sk_buff *skb); +unsigned int nf_nat_packet(struct nf_conn *ct, enum ip_conntrack_info ctinfo, + unsigned int hooknum, struct sk_buff *skb); -extern int nf_xfrm_me_harder(struct sk_buff *skb, unsigned int family); +int nf_xfrm_me_harder(struct sk_buff *skb, unsigned int family); static inline int nf_nat_initialized(struct nf_conn *ct, enum nf_nat_manip_type manip) |