summaryrefslogtreecommitdiffstats
path: root/iptables/nft-bridge.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-04-13 15:10:27 +0200
committerFlorian Westphal <fw@strlen.de>2018-04-13 20:09:00 +0200
commit3e94f0aecbfbe97b1a5a053f3b91201fc9fcdc59 (patch)
tree05d92f08245eac678f293e0607eeb2dd18bef90b /iptables/nft-bridge.h
parent5024efe926378e096ee496c93d0779c0f649f35c (diff)
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 <fw@strlen.de>
Diffstat (limited to 'iptables/nft-bridge.h')
-rw-r--r--iptables/nft-bridge.h1
1 files changed, 1 insertions, 0 deletions
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);