From 3daa98d621eccd02fda1207f642e8ff0412702a9 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 5 Sep 2014 23:00:18 +0100 Subject: Remove unecessary forward declarations. --- render/box.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'render/box.c') 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) { -- cgit v1.2.3