diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2014-09-05 23:00:18 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2014-09-05 23:00:18 +0100 |
commit | 3daa98d621eccd02fda1207f642e8ff0412702a9 (patch) | |
tree | 3ed34a4b0e4cfc2e07575e65ba28cebd9a54ba9a | |
parent | 428e34a0df58ca1d0e8b1720eb1e634e9c1773f2 (diff) | |
download | netsurf-3daa98d621eccd02fda1207f642e8ff0412702a9.tar.gz netsurf-3daa98d621eccd02fda1207f642e8ff0412702a9.tar.bz2 |
Remove unecessary forward declarations.
-rw-r--r-- | render/box.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/render/box.c b/render/box.c index e1d08480a..fb8a66c4b 100644 --- a/render/box.c +++ b/render/box.c @@ -42,13 +42,6 @@ #include "utils/talloc.h" #include "utils/utils.h" -static bool box_nearer_text_box(struct box *box, int bx, int by, - int x, int y, int dir, struct box **nearest, int *tx, int *ty, - int *nr_xd, int *nr_yd); -static bool box_nearest_text_box(struct box *box, int bx, int by, - int fx, int fy, int x, int y, int dir, struct box **nearest, - int *tx, int *ty, int *nr_xd, int *nr_yd); - #define box_is_float(box) (box->type == BOX_FLOAT_LEFT || \ box->type == BOX_FLOAT_RIGHT) @@ -724,7 +717,7 @@ struct box *box_at_point(struct box *box, const int x, const int y, * \return true if mouse point is inside box */ -bool box_nearer_text_box(struct box *box, int bx, int by, +static bool box_nearer_text_box(struct box *box, int bx, int by, int x, int y, int dir, struct box **nearest, int *tx, int *ty, int *nr_xd, int *nr_yd) { @@ -796,7 +789,7 @@ bool box_nearer_text_box(struct box *box, int bx, int by, * \return true if mouse point is inside text_box */ -bool box_nearest_text_box(struct box *box, int bx, int by, +static bool box_nearest_text_box(struct box *box, int bx, int by, int fx, int fy, int x, int y, int dir, struct box **nearest, int *tx, int *ty, int *nr_xd, int *nr_yd) { |