From: Pablo Neira Ayuso Date: Sun, 20 Jan 2013 19:24:36 +0000 (+0100) Subject: xtables: fix compilation warning X-Git-Tag: v1.6.0~111^2~132 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ebee8c46101914b269afe94e772321e5ee09c3f;p=thirdparty%2Fiptables.git xtables: fix compilation warning 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 --- 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