diff options
author | Joe Perches <joe@perches.com> | 2013-09-23 11:37:48 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-23 16:29:42 -0400 |
commit | 4e77be4637641c92468dd5de39cba774bed7d6ba (patch) | |
tree | 0b7442c7ab269f5d3a00dd260fd12b267ae1d030 /include/net/netfilter/nf_conntrack_extend.h | |
parent | irda: Remove extern from function prototypes (diff) | |
download | linux-dev-4e77be4637641c92468dd5de39cba774bed7d6ba.tar.xz linux-dev-4e77be4637641c92468dd5de39cba774bed7d6ba.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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netfilter/nf_conntrack_extend.h')
-rw-r--r-- | include/net/netfilter/nf_conntrack_extend.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netfilter/nf_conntrack_extend.h b/include/net/netfilter/nf_conntrack_extend.h index 88a1d4060d52..86372ae0ee84 100644 --- a/include/net/netfilter/nf_conntrack_extend.h +++ b/include/net/netfilter/nf_conntrack_extend.h @@ -73,7 +73,7 @@ static inline void *__nf_ct_ext_find(const struct nf_conn *ct, u8 id) ((id##_TYPE *)__nf_ct_ext_find((ext), (id))) /* Destroy all relationships */ -extern void __nf_ct_ext_destroy(struct nf_conn *ct); +void __nf_ct_ext_destroy(struct nf_conn *ct); static inline void nf_ct_ext_destroy(struct nf_conn *ct) { if (ct->ext) |