From: Florian Westphal Date: Fri, 13 Apr 2018 13:10:27 +0000 (+0200) Subject: nft-bridge: add forward declaration for struct nftnl_rule X-Git-Tag: v1.8.0~124 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3e94f0aecbfbe97b1a5a053f3b91201fc9fcdc59;p=thirdparty%2Fiptables.git 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 --- 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);