summaryrefslogtreecommitdiffstats
path: root/iptables/xshared.h
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2021-11-06 01:32:47 +0100
committerPhil Sutter <phil@nwl.cc>2021-11-23 15:01:23 +0100
commit7213561d9d7a17c4db29c867b2607241941dae5a (patch)
treeff66e9e34353ab8c25ae67b111fdb22e6ace0d66 /iptables/xshared.h
parentcf14b92bc1a3f5040437234dffe5cf6aa59711a5 (diff)
xshared: Make load_proto() static
The last outside users vanished ten years ago. Fixes: 449cdd6bcc8d1 ("src: combine default_command functions") Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/xshared.h')
-rw-r--r--iptables/xshared.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/iptables/xshared.h b/iptables/xshared.h
index 75794009..060c62ef 100644
--- a/iptables/xshared.h
+++ b/iptables/xshared.h
@@ -166,7 +166,6 @@ extern void print_extension_helps(const struct xtables_target *,
const struct xtables_rule_match *);
extern int command_default(struct iptables_command_state *,
struct xtables_globals *, bool invert);
-extern struct xtables_match *load_proto(struct iptables_command_state *);
extern int subcmd_main(int, char **, const struct subcommand *);
extern void xs_init_target(struct xtables_target *);
extern void xs_init_match(struct xtables_match *);