From 1d0943fafdb3c547965917eb4dfcb4d6445461a4 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Mon, 1 May 2023 18:41:48 +0200 Subject: Added void in function prototypes and declarations --- src/moves.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/moves.c') 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 @@ static Cube apply_move_cubearray(Move m, Cube cube, PieceFilter f); static void cleanup_aux(Alg *alg, Alg *ret, bool inv); -static bool read_mtables_file(); -static bool write_mtables_file(); +static bool read_mtables_file(void); +static bool write_mtables_file(void); /* Tables and other data *****************************************************/ @@ -342,7 +342,7 @@ cleanup_aux(Alg *alg, Alg *ret, bool inv) } static bool -read_mtables_file() +read_mtables_file(void) { init_env(); @@ -391,7 +391,7 @@ read_mtables_file() } static bool -write_mtables_file() +write_mtables_file(void) { init_env(); @@ -440,7 +440,8 @@ write_mtables_file() } void -init_moves() { +init_moves(void) +{ static bool initialized = false; if (initialized) return; -- cgit v1.3