diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2023-05-01 18:41:48 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2023-05-01 18:49:11 +0200 |
| commit | 1d0943fafdb3c547965917eb4dfcb4d6445461a4 (patch) | |
| tree | c924a58f9caa5d61095af780afcb46ff3a0deee9 /src/cube.c | |
| parent | bb689c922e2b34f6f803a6593190ba5f6993f8c5 (diff) | |
| download | nissy-classic-1d0943fafdb3c547965917eb4dfcb4d6445461a4.tar.gz nissy-classic-1d0943fafdb3c547965917eb4dfcb4d6445461a4.zip | |
Added void in function prototypes and declarations
Diffstat (limited to '')
| -rw-r--r-- | src/cube.c | 14 |
1 files changed, 7 insertions, 7 deletions
| @@ -2,9 +2,9 @@ | |||
| 2 | 2 | ||
| 3 | /* Local functions ***********************************************************/ | 3 | /* Local functions ***********************************************************/ |
| 4 | 4 | ||
| 5 | static void init_inverse(); | 5 | static void init_inverse(void); |
| 6 | static bool read_invtables_file(); | 6 | static bool read_invtables_file(void); |
| 7 | static bool write_invtables_file(); | 7 | static 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 | ||
| 763 | static bool | 763 | static bool |
| 764 | read_invtables_file() | 764 | read_invtables_file(void) |
| 765 | { | 765 | { |
| 766 | init_env(); | 766 | init_env(); |
| 767 | 767 | ||
| @@ -802,7 +802,7 @@ read_invtables_file() | |||
| 802 | } | 802 | } |
| 803 | 803 | ||
| 804 | static bool | 804 | static bool |
| 805 | write_invtables_file() | 805 | write_invtables_file(void) |
| 806 | { | 806 | { |
| 807 | init_env(); | 807 | init_env(); |
| 808 | 808 | ||
| @@ -843,7 +843,7 @@ write_invtables_file() | |||
| 843 | } | 843 | } |
| 844 | 844 | ||
| 845 | void | 845 | void |
| 846 | init_inverse() | 846 | init_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 | ||
| 928 | void | 928 | void |
| 929 | init_cube() | 929 | init_cube(void) |
| 930 | { | 930 | { |
| 931 | init_inverse(); | 931 | init_inverse(); |
| 932 | } | 932 | } |
