From 6162b49875df786a4aa46f79719df186423a02b8 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 25 Mar 2012 10:21:37 +0000 Subject: Forward decl of struct dom_node to shush things svn path=/trunk/netsurf/; revision=13666 --- render/box.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/render/box.h b/render/box.h index 7e54ff4c3..c7794e6d7 100644 --- a/render/box.h +++ b/render/box.h @@ -101,6 +101,8 @@ struct object_params; struct object_param; struct html_content; +struct dom_node; + #define UNKNOWN_WIDTH INT_MAX #define UNKNOWN_MAX_WIDTH INT_MAX @@ -339,7 +341,7 @@ bool box_hscrollbar_present(const struct box *box); nserror box_construct_init(void); void box_construct_fini(void); -bool xml_to_box(dom_node *n, struct html_content *c, +bool xml_to_box(struct dom_node *n, struct html_content *c, box_construct_complete_cb cb); bool box_normalise_block(struct box *block, struct html_content *c); -- cgit v1.2.3