aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netfilter/xt_rateest.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-23 11:37:48 -0700
committerDavid S. Miller <davem@davemloft.net>2013-09-23 16:29:42 -0400
commit4e77be4637641c92468dd5de39cba774bed7d6ba (patch)
tree0b7442c7ab269f5d3a00dd260fd12b267ae1d030 /include/net/netfilter/xt_rateest.h
parentirda: Remove extern from function prototypes (diff)
downloadlinux-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/xt_rateest.h')
-rw-r--r--include/net/netfilter/xt_rateest.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/netfilter/xt_rateest.h b/include/net/netfilter/xt_rateest.h
index 495c71f66e7e..79f45e19f31e 100644
--- a/include/net/netfilter/xt_rateest.h
+++ b/include/net/netfilter/xt_rateest.h
@@ -16,7 +16,7 @@ struct xt_rateest {
struct rcu_head rcu;
};
-extern struct xt_rateest *xt_rateest_lookup(const char *name);
-extern void xt_rateest_put(struct xt_rateest *est);
+struct xt_rateest *xt_rateest_lookup(const char *name);
+void xt_rateest_put(struct xt_rateest *est);
#endif /* _XT_RATEEST_H */