aboutsummaryrefslogtreecommitdiff
path: root/src/cube.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/cube.c
parentbb689c922e2b34f6f803a6593190ba5f6993f8c5 (diff)
downloadnissy-classic-1d0943fafdb3c547965917eb4dfcb4d6445461a4.tar.gz
nissy-classic-1d0943fafdb3c547965917eb4dfcb4d6445461a4.zip
Added void in function prototypes and declarations
Diffstat (limited to '')
-rw-r--r--src/cube.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/cube.c b/src/cube.c
index aae3a6e..cbd7762 100644
--- a/src/cube.c
+++ b/src/cube.c
@@ -2,9 +2,9 @@
2 2
3/* Local functions ***********************************************************/ 3/* Local functions ***********************************************************/
4 4
5static void init_inverse(); 5static void init_inverse(void);
6static bool read_invtables_file(); 6static bool read_invtables_file(void);
7static bool write_invtables_file(); 7static bool write_invtables_file(void);
8 8
9/* Tables ********************************************************************/ 9/* Tables ********************************************************************/
10 10
@@ -761,7 +761,7 @@ where_is_edge(Cube c, Edge e)
761} 761}
762 762
763static bool 763static bool
764read_invtables_file() 764read_invtables_file(void)
765{ 765{
766 init_env(); 766 init_env();
767 767
@@ -802,7 +802,7 @@ read_invtables_file()
802} 802}
803 803
804static bool 804static bool
805write_invtables_file() 805write_invtables_file(void)
806{ 806{
807 init_env(); 807 init_env();
808 808
@@ -843,7 +843,7 @@ write_invtables_file()
843} 843}
844 844
845void 845void
846init_inverse() 846init_inverse(void)
847{ 847{
848 static bool initialized = false; 848 static bool initialized = false;
849 if (initialized) 849 if (initialized)
@@ -926,7 +926,7 @@ init_inverse()
926} 926}
927 927
928void 928void
929init_cube() 929init_cube(void)
930{ 930{
931 init_inverse(); 931 init_inverse();
932} 932}

Generated with cgit - Back to sebastiano.tronto.net