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/trans.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/trans.c') diff --git a/src/trans.c b/src/trans.c index e267a17..67056a6 100644 --- a/src/trans.c +++ b/src/trans.c @@ -2,9 +2,9 @@ /* Local functions ***********************************************************/ -static bool read_ttables_file(); +static bool read_ttables_file(void); static Cube rotate_via_compose(Trans r, Cube c, PieceFilter f); -static bool write_ttables_file(); +static bool write_ttables_file(void); /* Tables and other data *****************************************************/ @@ -56,7 +56,7 @@ Move moves_ttable[NTRANS][NMOVES]; /* Local functions implementation ********************************************/ static bool -read_ttables_file() +read_ttables_file(void) { init_env(); @@ -135,7 +135,7 @@ rotate_via_compose(Trans r, Cube c, PieceFilter f) } static bool -write_ttables_file() +write_ttables_file(void) { init_env(); @@ -262,7 +262,8 @@ transform_alg(Trans t, Alg *alg) } void -init_trans() { +init_trans(void) +{ static bool initialized = false; if (initialized) return; -- cgit v1.3