From 6c02b72d766fcb6a9598bdde80294a41e53cd02c Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 20 Apr 2023 14:08:02 +0100 Subject: [PATCH] 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. --- unfinished/separate.c | 1 - 1 file changed, 1 deletion(-) diff --git a/unfinished/separate.c b/unfinished/separate.c index 324a966..9ed1cac 100644 --- a/unfinished/separate.c +++ b/unfinished/separate.c @@ -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);