summaryrefslogtreecommitdiffstats
path: root/iptables.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2008-02-11 00:54:00 +0100
committerPatrick McHardy <kaber@trash.net>2008-04-13 07:17:58 +0200
commit33690a1aec0b6309ff90066ca56285b6e43013f2 (patch)
tree803dff9c5fceb2f5f2bd8b450d62f3572c645baa /iptables.c
parent1a756e948d66ca17f088411c175858cae19bfd66 (diff)
Fix all remaining warnings (missing declarations, missing prototypes)
Diffstat (limited to 'iptables.c')
-rw-r--r--iptables.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/iptables.c b/iptables.c
index 0363aba6..b2a4b537 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;