summaryrefslogtreecommitdiffstats
path: root/ip6tables-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 /ip6tables-restore.c
parent1a756e948d66ca17f088411c175858cae19bfd66 (diff)
Fix all remaining warnings (missing declarations, missing prototypes)
Diffstat (limited to 'ip6tables-restore.c')
-rw-r--r--ip6tables-restore.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ip6tables-restore.c b/ip6tables-restore.c
index 570bd515..e9cc0ff8 100644
--- a/ip6tables-restore.c
+++ b/ip6tables-restore.c
@@ -18,6 +18,7 @@
#include "ip6tables.h"
#include "xtables.h"
#include "libiptc/libip6tc.h"
+#include "ip6tables-multi.h"
#ifdef DEBUG
#define DEBUGP(x, args...) fprintf(stderr, x, ## args)
@@ -55,7 +56,8 @@ static void print_usage(const char *name, const char *version)
exit(1);
}
-ip6tc_handle_t create_handle(const char *tablename, const char* modprobe)
+static ip6tc_handle_t create_handle(const char *tablename,
+ const char *modprobe)
{
ip6tc_handle_t handle;