Remove unecessary forward declarations.

This commit is contained in:
Michael Drake 2014-09-05 23:00:18 +01:00
parent 428e34a0df
commit 3daa98d621

View File

@ -42,13 +42,6 @@
#include "utils/talloc.h" #include "utils/talloc.h"
#include "utils/utils.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 || \ #define box_is_float(box) (box->type == BOX_FLOAT_LEFT || \
box->type == BOX_FLOAT_RIGHT) 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 * \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 x, int y, int dir, struct box **nearest, int *tx, int *ty,
int *nr_xd, int *nr_yd) 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 * \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 fx, int fy, int x, int y, int dir, struct box **nearest,
int *tx, int *ty, int *nr_xd, int *nr_yd) int *tx, int *ty, int *nr_xd, int *nr_yd)
{ {