shithub: puzzles

Download patch

ref: 6c02b72d766fcb6a9598bdde80294a41e53cd02c
parent: 0d86fe4b748e72fb8491a7e8bea7bb0a923b9f79
author: Simon Tatham <anakin@pobox.com>
date: Thu Apr 20 10:08:02 EDT 2023

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.

--- a/unfinished/separate.c
+++ b/unfinished/separate.c
@@ -506,7 +506,6 @@
     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);