From f4ea591d9154ad811c98c93c5516dc8d6c2807f5 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net" Date: Sun, 13 Apr 2008 05:17:58 +0000 Subject: [PATCH 02/13] Fix all remaining warnings (missing declarations, missing prototypes) --- iptables.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'iptables.c') diff --git a/iptables.c b/iptables.c index 0363aba..b2a4b53 100644 --- a/iptables.c +++ b/iptables.c @@ -190,8 +190,6 @@ const char *program_name; int kernel_version; -extern void dump_entries(const iptc_handle_t handle); - /* A few hardcoded protocols for 'all' and in case the user has no /etc/protocols */ struct pprot { @@ -1143,7 +1141,7 @@ generate_entry(const struct ipt_entry *fw, return e; } -void clear_rule_matches(struct iptables_rule_match **matches) +static void clear_rule_matches(struct iptables_rule_match **matches) { struct iptables_rule_match *matchp, *tmp; -- cgit v1.2.3