aboutsummaryrefslogtreecommitdiff
path: root/src/moves.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/moves.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/moves.c b/src/moves.c
index 02880ca..955e8cf 100644
--- a/src/moves.c
+++ b/src/moves.c
@@ -4,8 +4,8 @@
4 4
5static Cube apply_move_cubearray(Move m, Cube cube, PieceFilter f); 5static Cube apply_move_cubearray(Move m, Cube cube, PieceFilter f);
6static void cleanup_aux(Alg *alg, Alg *ret, bool inv); 6static void cleanup_aux(Alg *alg, Alg *ret, bool inv);
7static bool read_mtables_file(); 7static bool read_mtables_file(void);
8static bool write_mtables_file(); 8static bool write_mtables_file(void);
9 9
10/* Tables and other data *****************************************************/ 10/* Tables and other data *****************************************************/
11 11
@@ -342,7 +342,7 @@ cleanup_aux(Alg *alg, Alg *ret, bool inv)
342} 342}
343 343
344static bool 344static bool
345read_mtables_file() 345read_mtables_file(void)
346{ 346{
347 init_env(); 347 init_env();
348 348
@@ -391,7 +391,7 @@ read_mtables_file()
391} 391}
392 392
393static bool 393static bool
394write_mtables_file() 394write_mtables_file(void)
395{ 395{
396 init_env(); 396 init_env();
397 397
@@ -440,7 +440,8 @@ write_mtables_file()
440} 440}
441 441
442void 442void
443init_moves() { 443init_moves(void)
444{
444 static bool initialized = false; 445 static bool initialized = false;
445 if (initialized) 446 if (initialized)
446 return; 447 return;

Generated with cgit - Back to sebastiano.tronto.net