summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/src/latin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/puzzles/src/latin.c')
-rw-r--r--apps/plugins/puzzles/src/latin.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/puzzles/src/latin.c b/apps/plugins/puzzles/src/latin.c
index 03d78aff1f..50fae3cfea 100644
--- a/apps/plugins/puzzles/src/latin.c
+++ b/apps/plugins/puzzles/src/latin.c
@@ -73,7 +73,7 @@ void latin_solver_place(struct latin_solver *solver, int x, int y, int n)
73 73
74int latin_solver_elim(struct latin_solver *solver, int start, int step 74int latin_solver_elim(struct latin_solver *solver, int start, int step
75#ifdef STANDALONE_SOLVER 75#ifdef STANDALONE_SOLVER
76 , char *fmt, ... 76 , const char *fmt, ...
77#endif 77#endif
78 ) 78 )
79{ 79{
@@ -150,7 +150,7 @@ int latin_solver_set(struct latin_solver *solver,
150 struct latin_solver_scratch *scratch, 150 struct latin_solver_scratch *scratch,
151 int start, int step1, int step2 151 int start, int step1, int step2
152#ifdef STANDALONE_SOLVER 152#ifdef STANDALONE_SOLVER
153 , char *fmt, ... 153 , const char *fmt, ...
154#endif 154#endif
155 ) 155 )
156{ 156{
@@ -499,7 +499,7 @@ int latin_solver_forcing(struct latin_solver *solver,
499 (xt == x || yt == y)) { 499 (xt == x || yt == y)) {
500#ifdef STANDALONE_SOLVER 500#ifdef STANDALONE_SOLVER
501 if (solver_show_working) { 501 if (solver_show_working) {
502 char *sep = ""; 502 const char *sep = "";
503 int xl, yl; 503 int xl, yl;
504 printf("%*sforcing chain, %s at ends of ", 504 printf("%*sforcing chain, %s at ends of ",
505 solver_recurse_depth*4, "", 505 solver_recurse_depth*4, "",
@@ -775,7 +775,7 @@ static int latin_solver_recurse
775 775
776#ifdef STANDALONE_SOLVER 776#ifdef STANDALONE_SOLVER
777 if (solver_show_working) { 777 if (solver_show_working) {
778 char *sep = ""; 778 const char *sep = "";
779 printf("%*srecursing on (%d,%d) [", 779 printf("%*srecursing on (%d,%d) [",
780 solver_recurse_depth*4, "", x+1, y+1); 780 solver_recurse_depth*4, "", x+1, y+1);
781 for (i = 0; i < j; i++) { 781 for (i = 0; i < j; i++) {