diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2008-02-11 00:54:00 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-04-13 07:17:58 +0200 |
commit | 33690a1aec0b6309ff90066ca56285b6e43013f2 (patch) | |
tree | 803dff9c5fceb2f5f2bd8b450d62f3572c645baa /ip6tables.c | |
parent | 1a756e948d66ca17f088411c175858cae19bfd66 (diff) |
Fix all remaining warnings (missing declarations, missing prototypes)
Diffstat (limited to 'ip6tables.c')
-rw-r--r-- | ip6tables.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ip6tables.c b/ip6tables.c index 4b517e57..e5602f7e 100644 --- a/ip6tables.c +++ b/ip6tables.c @@ -41,6 +41,7 @@ #include <fcntl.h> #include <sys/types.h> #include <sys/socket.h> +#include "ip6tables-multi.h" #ifndef TRUE #define TRUE 1 @@ -186,9 +187,6 @@ static int inverse_for_options[NUMBER_OF_OPT] = const char *program_version; const char *program_name; -/* Extra debugging from libiptc */ -extern void dump_entries6(const ip6tc_handle_t handle); - /* A few hardcoded protocols for 'all' and in case the user has no /etc/protocols */ struct pprot { @@ -1140,7 +1138,7 @@ generate_entry(const struct ip6t_entry *fw, return e; } -void clear_rule_matches(struct ip6tables_rule_match **matches) +static void clear_rule_matches(struct ip6tables_rule_match **matches) { struct ip6tables_rule_match *matchp, *tmp; |