Patchwork [libnftables,3/7] rule: declare nft_rule_list structure at a proper place

login
register
mail settings
Submitter Tomasz Bursztyka
Date May 14, 2013, 10:51 a.m.
Message ID <1368528682-10041-4-git-send-email-tomasz.bursztyka@linux.intel.com>
Download mbox | patch
Permalink /patch/243670/
State Accepted
Headers show

Comments

Tomasz Bursztyka - May 14, 2013, 10:51 a.m.
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
---
 include/libnftables/rule.h | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/include/libnftables/rule.h b/include/libnftables/rule.h
index 50222c5..e7396a4 100644
--- a/include/libnftables/rule.h
+++ b/include/libnftables/rule.h
@@ -54,6 +54,8 @@  struct nft_rule_expr_iter *nft_rule_expr_iter_create(struct nft_rule *r);
 struct nft_rule_expr *nft_rule_expr_iter_next(struct nft_rule_expr_iter *iter);
 void nft_rule_expr_iter_destroy(struct nft_rule_expr_iter *iter);
 
+struct nft_rule_list;
+
 struct nft_rule_list *nft_rule_list_alloc(void);
 void nft_rule_list_free(struct nft_rule_list *list);
 void nft_rule_list_add(struct nft_rule *r, struct nft_rule_list *list);