diff options
author | John Tytgat <joty@netsurf-browser.org> | 2004-08-14 14:30:12 +0000 |
---|---|---|
committer | John Tytgat <joty@netsurf-browser.org> | 2004-08-14 14:30:12 +0000 |
commit | 402c4ca66c7d95b1cdfc9eefbcb94947c807155b (patch) | |
tree | dbc42a5d9357d6c03d6c479bf6792754116f8adb /render/box.h | |
parent | 7d3a242132eedadbcb96bead6dbed64729d11aaf (diff) | |
download | netsurf-402c4ca66c7d95b1cdfc9eefbcb94947c807155b.tar.gz netsurf-402c4ca66c7d95b1cdfc9eefbcb94947c807155b.tar.bz2 |
[project @ 2004-08-14 14:30:10 by joty]
Removed a chunk of Norcroft compiler warnings. Re-ident some pieces.
svn path=/import/netsurf/; revision=1231
Diffstat (limited to 'render/box.h')
-rw-r--r-- | render/box.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/render/box.h b/render/box.h index 5b6427bc6..8014b9856 100644 --- a/render/box.h +++ b/render/box.h @@ -232,11 +232,11 @@ struct column { void xml_to_box(xmlNode *n, struct content *c); -void box_dump(struct box * box, unsigned int depth); -struct box * box_create(struct css_style * style, +void box_dump(struct box *box, unsigned int depth); +struct box * box_create(struct css_style *style, const char *href, const char *title, const char *id, pool box_pool); -void box_add_child(struct box * parent, struct box * child); +void box_add_child(struct box * parent, struct box *child); void box_insert_sibling(struct box *box, struct box *new_box); void box_free(struct box *box); void box_coords(struct box *box, int *x, int *y); @@ -244,6 +244,6 @@ struct box *box_at_point(struct box *box, int x, int y, int *box_x, int *box_y, struct content **content); struct box *box_object_at_point(struct content *c, int x, int y); -struct box *box_find_by_id(struct box *box, char *id); +struct box *box_find_by_id(struct box *box, const char *id); #endif |