diff mbox

[iptables-nftables] nft: Header inclusion missing

Message ID 1380800362-11290-1-git-send-email-tomasz.bursztyka@linux.intel.com
State Accepted
Headers show

Commit Message

Tomasz Bursztyka Oct. 3, 2013, 11:39 a.m. UTC
Fixes:
nft-shared.c: In function ‘nft_ipv46_rule_find’:
nft-shared.c:725:2: warning: implicit declaration of function ‘nft_rule_print_save’ [-Wimplicit-function-declaration]
nft-shared.c:725:32: error: ‘NFT_RULE_APPEND’ undeclared (first use in this function)
nft-shared.c:725:32: note: each undeclared identifier is reported only once for each function it appears in

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
---
 iptables/nft-shared.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Pablo Neira Ayuso Oct. 3, 2013, 1 p.m. UTC | #1
On Thu, Oct 03, 2013 at 02:39:22PM +0300, Tomasz Bursztyka wrote:
> Fixes:
> nft-shared.c: In function ‘nft_ipv46_rule_find’:
> nft-shared.c:725:2: warning: implicit declaration of function ‘nft_rule_print_save’ [-Wimplicit-function-declaration]
> nft-shared.c:725:32: error: ‘NFT_RULE_APPEND’ undeclared (first use in this function)
> nft-shared.c:725:32: note: each undeclared identifier is reported only once for each function it appears in

Also applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/iptables/nft-shared.c b/iptables/nft-shared.c
index 5c09fe1..c9bde90 100644
--- a/iptables/nft-shared.c
+++ b/iptables/nft-shared.c
@@ -27,6 +27,7 @@ 
 
 #include "nft-shared.h"
 #include "xshared.h"
+#include "nft.h"
 
 extern struct nft_family_ops nft_family_ops_ipv4;
 extern struct nft_family_ops nft_family_ops_ipv6;