From acef6043f647806096c41294b00472f6ce7462d7 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 7 Feb 2011 03:18:53 +0100 Subject: src: deduplicate and simplify implicit protocol extension loading Signed-off-by: Jan Engelhardt --- xshared.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xshared.h') diff --git a/xshared.h b/xshared.h index 06d73ab9..d0cb5162 100644 --- a/xshared.h +++ b/xshared.h @@ -45,7 +45,6 @@ enum { extern void print_extension_helps(const struct xtables_target *, const struct xtables_rule_match *); extern const char *proto_to_name(uint8_t, int); -extern struct xtables_match *find_proto(const char *, enum xtables_tryload, - int, struct xtables_rule_match **); +extern struct xtables_match *load_proto(struct iptables_command_state *); #endif /* IPTABLES_XSHARED_H */ -- cgit v1.2.3