]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
nft-bridge: add forward declaration for struct nftnl_rule
authorFlorian Westphal <fw@strlen.de>
Fri, 13 Apr 2018 13:10:27 +0000 (15:10 +0200)
committerFlorian Westphal <fw@strlen.de>
Fri, 13 Apr 2018 18:09:00 +0000 (20:09 +0200)
nft-bridge.h:121:48: warning: 'struct nftnl_rule' declared inside parameter list will not be visible outside ..

Signed-off-by: Florian Westphal <fw@strlen.de>
iptables/nft-bridge.h

index 1c37a5f698660a7265ad238ef391f2618ef84f5a..c5b7d3a6c9cd613b5dd977115faccb809427086a 100644 (file)
@@ -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);