aboutsummaryrefslogtreecommitdiff
path: root/src/trans.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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