From 3e94f0aecbfbe97b1a5a053f3b91201fc9fcdc59 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Fri, 13 Apr 2018 15:10:27 +0200 Subject: nft-bridge: add forward declaration for struct nftnl_rule nft-bridge.h:121:48: warning: 'struct nftnl_rule' declared inside parameter list will not be visible outside .. Signed-off-by: Florian Westphal --- iptables/nft-bridge.h | 1 + 1 file changed, 1 insertion(+) (limited to 'iptables/nft-bridge.h') diff --git a/iptables/nft-bridge.h b/iptables/nft-bridge.h index 1c37a5f6..c5b7d3a6 100644 --- a/iptables/nft-bridge.h +++ b/iptables/nft-bridge.h @@ -118,6 +118,7 @@ struct ebtables_command_state { unsigned int options; }; +struct nftnl_rule; void nft_rule_to_ebtables_command_state(struct nftnl_rule *r, struct ebtables_command_state *cs); -- cgit v1.2.3