aboutsummaryrefslogtreecommitdiff
path: root/src/trans.c
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-05-01 18:41:48 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2023-05-01 18:49:11 +0200
commit1d0943fafdb3c547965917eb4dfcb4d6445461a4 (patch)
treec924a58f9caa5d61095af780afcb46ff3a0deee9 /src/trans.c
parentbb689c922e2b34f6f803a6593190ba5f6993f8c5 (diff)
downloadnissy-classic-1d0943fafdb3c547965917eb4dfcb4d6445461a4.tar.gz
nissy-classic-1d0943fafdb3c547965917eb4dfcb4d6445461a4.zip
Added void in function prototypes and declarations
Diffstat (limited to 'src/trans.c')
-rw-r--r--src/trans.c11
1 files changed, 6 insertions, 5 deletions
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 @@
2 2
3/* Local functions ***********************************************************/ 3/* Local functions ***********************************************************/
4 4
5static bool read_ttables_file(); 5static bool read_ttables_file(void);
6static Cube rotate_via_compose(Trans r, Cube c, PieceFilter f); 6static Cube rotate_via_compose(Trans r, Cube c, PieceFilter f);
7static bool write_ttables_file(); 7static bool write_ttables_file(void);
8 8
9/* Tables and other data *****************************************************/ 9/* Tables and other data *****************************************************/
10 10
@@ -56,7 +56,7 @@ Move moves_ttable[NTRANS][NMOVES];
56/* Local functions implementation ********************************************/ 56/* Local functions implementation ********************************************/
57 57
58static bool 58static bool
59read_ttables_file() 59read_ttables_file(void)
60{ 60{
61 init_env(); 61 init_env();
62 62
@@ -135,7 +135,7 @@ rotate_via_compose(Trans r, Cube c, PieceFilter f)
135} 135}
136 136
137static bool 137static bool
138write_ttables_file() 138write_ttables_file(void)
139{ 139{
140 init_env(); 140 init_env();
141 141
@@ -262,7 +262,8 @@ transform_alg(Trans t, Alg *alg)
262} 262}
263 263
264void 264void
265init_trans() { 265init_trans(void)
266{
266 static bool initialized = false; 267 static bool initialized = false;
267 if (initialized) 268 if (initialized)
268 return; 269 return;

Generated with cgit - Back to sebastiano.tronto.net