From 8ebee8c46101914b269afe94e772321e5ee09c3f Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sun, 20 Jan 2013 20:24:36 +0100 Subject: xtables: fix compilation warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit xtables-standalone.c: In function ‘xtables_main’: xtables-standalone.c:64:2: warning: implicit declaration of function ‘do_commandx’ [-Wimplicit-function-declaration] Signed-off-by: Pablo Neira Ayuso --- iptables/nft.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'iptables/nft.h') diff --git a/iptables/nft.h b/iptables/nft.h index 1bd9ccce..00216681 100644 --- a/iptables/nft.h +++ b/iptables/nft.h @@ -62,4 +62,7 @@ int nft_compatible_revision(const char *name, uint8_t rev, int opt); */ const char *nft_strerror(int err); +/* For xtables.c */ +int do_commandx(struct nft_handle *h, int argc, char *argv[], char **table); + #endif -- cgit v1.2.3