summaryrefslogtreecommitdiff
path: root/apps/plugins/sudoku/generator.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/sudoku/generator.c')
-rw-r--r--apps/plugins/sudoku/generator.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/sudoku/generator.c b/apps/plugins/sudoku/generator.c
index ba74fa5..0388d34 100644
--- a/apps/plugins/sudoku/generator.c
+++ b/apps/plugins/sudoku/generator.c
@@ -34,6 +34,7 @@
#include "sudoku.h"
#include "templates.h"
+#include "generator.h"
#define assert(x)
@@ -618,6 +619,7 @@ allmoves( void )
}
/* Helper: sort based on index */
+#if 0 /* unused function */
static
int
cmpindex( const void * a, const void * b )
@@ -629,7 +631,7 @@ cmpindex( const void * a, const void * b )
* 'easy' moves first, and if none are possible, then try for more
* cryptic moves.
*/
-int
+static int
findhints( void )
{
int i, n, mutated = 0;
@@ -695,6 +697,7 @@ findhints( void )
return n;
}
+#endif /* unused function */
/* Deterministic solver; return 0 on success, else -1 on error.
*/