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_acct.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_acct.h')
-rw-r--r-- | include/net/netfilter/nf_conntrack_acct.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/net/netfilter/nf_conntrack_acct.h b/include/net/netfilter/nf_conntrack_acct.h index 2bdb7a15fe06..fef44edf49c1 100644 --- a/include/net/netfilter/nf_conntrack_acct.h +++ b/include/net/netfilter/nf_conntrack_acct.h @@ -42,8 +42,8 @@ struct nf_conn_counter *nf_ct_acct_ext_add(struct nf_conn *ct, gfp_t gfp) return acct; }; -extern unsigned int -seq_print_acct(struct seq_file *s, const struct nf_conn *ct, int dir); +unsigned int seq_print_acct(struct seq_file *s, const struct nf_conn *ct, + int dir); /* Check if connection tracking accounting is enabled */ static inline bool nf_ct_acct_enabled(struct net *net) @@ -57,9 +57,9 @@ static inline void nf_ct_set_acct(struct net *net, bool enable) net->ct.sysctl_acct = enable; } -extern int nf_conntrack_acct_pernet_init(struct net *net); -extern void nf_conntrack_acct_pernet_fini(struct net *net); +int nf_conntrack_acct_pernet_init(struct net *net); +void nf_conntrack_acct_pernet_fini(struct net *net); -extern int nf_conntrack_acct_init(void); -extern void nf_conntrack_acct_fini(void); +int nf_conntrack_acct_init(void); +void nf_conntrack_acct_fini(void); #endif /* _NF_CONNTRACK_ACCT_H */ |