Infrastructure change which I've been thinking about for a while:
[sgt/puzzles] / fifteen.c
index 226de30..d8ba3b0 100644 (file)
--- a/fifteen.c
+++ b/fifteen.c
@@ -379,8 +379,8 @@ static void free_game(game_state *state)
     sfree(state);
 }
 
-static game_state *solve_game(game_state *state, game_aux_info *aux,
-                             char **error)
+static game_state *solve_game(game_state *state, game_state *currstate,
+                             game_aux_info *aux, char **error)
 {
     game_state *ret = dup_game(state);
     int i;