summaryrefslogtreecommitdiffstats
path: root/iptables-restore.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-restore.c
parent1a756e948d66ca17f088411c175858cae19bfd66 (diff)
Fix all remaining warnings (missing declarations, missing prototypes)
Diffstat (limited to 'iptables-restore.c')
-rw-r--r--iptables-restore.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/iptables-restore.c b/iptables-restore.c
index 44263cee..b751d2c8 100644
--- a/iptables-restore.c
+++ b/iptables-restore.c
@@ -15,6 +15,7 @@
#include "iptables.h"
#include "xtables.h"
#include "libiptc/libiptc.h"
+#include "iptables-multi.h"
#ifdef DEBUG
#define DEBUGP(x, args...) fprintf(stderr, x, ## args)
@@ -54,7 +55,7 @@ static void print_usage(const char *name, const char *version)
exit(1);
}
-iptc_handle_t create_handle(const char *tablename, const char* modprobe )
+static iptc_handle_t create_handle(const char *tablename, const char *modprobe)
{
iptc_handle_t handle;