Remove an unnecessary extern function declaration.

unfinished/separate.c had its own declaration of divvy_rectangle(),
duplicating the one in puzzles.h. Probably that was where the
declaration originally lived, before I moved it out into the main
header.
This commit is contained in:
Simon Tatham
2023-04-20 14:08:02 +01:00
parent 0d86fe4b74
commit 6c02b72d76

View File

@ -506,7 +506,6 @@ static unsigned char *generate(int w, int h, int k, random_state *rs)
int i, j, m, retries;
int *permutation;
bool *gen_lock;
extern int *divvy_rectangle(int w, int h, int k, random_state *rs);
sc = solver_scratch_new(w, h, k);
grid = snewn(wh, unsigned char);