aboutsummaryrefslogtreecommitdiff
path: root/unfinished
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2023-04-20 14:08:02 +0100
committerSimon Tatham <anakin@pobox.com>2023-04-20 14:08:54 +0100
commit6c02b72d766fcb6a9598bdde80294a41e53cd02c (patch)
tree1ccfcd87754d938aefcde751d354c63020ee6235 /unfinished
parent0d86fe4b748e72fb8491a7e8bea7bb0a923b9f79 (diff)
downloadpuzzles-6c02b72d766fcb6a9598bdde80294a41e53cd02c.zip
puzzles-6c02b72d766fcb6a9598bdde80294a41e53cd02c.tar.gz
puzzles-6c02b72d766fcb6a9598bdde80294a41e53cd02c.tar.bz2
puzzles-6c02b72d766fcb6a9598bdde80294a41e53cd02c.tar.xz
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.
Diffstat (limited to 'unfinished')
-rw-r--r--unfinished/separate.c1
1 files changed, 0 insertions, 1 deletions
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);