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/coord.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/coord.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/coord.c b/src/coord.c index a9df9fd..0d87ffa 100644 --- a/src/coord.c +++ b/src/coord.c | |||
| @@ -30,12 +30,12 @@ static uint64_t move_htr_drud(Move m, uint64_t ind); | |||
| 30 | static uint64_t move_htrfin(Move m, uint64_t ind); | 30 | static uint64_t move_htrfin(Move m, uint64_t ind); |
| 31 | static uint64_t move_cpud_separate(Move m, uint64_t ind); | 31 | static uint64_t move_cpud_separate(Move m, uint64_t ind); |
| 32 | 32 | ||
| 33 | static void init_cphtr_cosets(); | 33 | static void init_cphtr_cosets(void); |
| 34 | static void init_cphtr_left_cosets_bfs(int i, int c); | 34 | static void init_cphtr_left_cosets_bfs(int i, int c); |
| 35 | static void init_cphtr_right_cosets_color(int i, int c); | 35 | static void init_cphtr_right_cosets_color(int i, int c); |
| 36 | static void init_cpud_separate(); | 36 | static void init_cpud_separate(void); |
| 37 | static void init_cornershtrfin(); | 37 | static void init_cornershtrfin(void); |
| 38 | static void init_htr_eposs(); | 38 | static void init_htr_eposs(void); |
| 39 | 39 | ||
| 40 | 40 | ||
| 41 | /* All sorts of useful costants and tables **********************************/ | 41 | /* All sorts of useful costants and tables **********************************/ |
| @@ -463,7 +463,7 @@ move_cpud_separate(Move m, uint64_t ind) | |||
| 463 | * know how to do. | 463 | * know how to do. |
| 464 | */ | 464 | */ |
| 465 | static void | 465 | static void |
| 466 | init_cphtr_cosets() | 466 | init_cphtr_cosets(void) |
| 467 | { | 467 | { |
| 468 | unsigned int i; | 468 | unsigned int i; |
| 469 | int c = 0, d = 0; | 469 | int c = 0, d = 0; |
| @@ -531,7 +531,7 @@ init_cphtr_right_cosets_color(int i, int d) | |||
| 531 | } | 531 | } |
| 532 | 532 | ||
| 533 | static void | 533 | static void |
| 534 | init_cpud_separate() | 534 | init_cpud_separate(void) |
| 535 | { | 535 | { |
| 536 | unsigned int ui; | 536 | unsigned int ui; |
| 537 | int i, co[8]; | 537 | int i, co[8]; |
| @@ -545,7 +545,7 @@ init_cpud_separate() | |||
| 545 | } | 545 | } |
| 546 | 546 | ||
| 547 | static void | 547 | static void |
| 548 | init_cornershtrfin() | 548 | init_cornershtrfin(void) |
| 549 | { | 549 | { |
| 550 | unsigned int i, j; | 550 | unsigned int i, j; |
| 551 | int n, c; | 551 | int n, c; |
| @@ -576,7 +576,7 @@ init_cornershtrfin() | |||
| 576 | } | 576 | } |
| 577 | 577 | ||
| 578 | void | 578 | void |
| 579 | init_htr_eposs() | 579 | init_htr_eposs(void) |
| 580 | { | 580 | { |
| 581 | int ep[12], ep2[12]; | 581 | int ep[12], ep2[12]; |
| 582 | int eps_solved[4] = {UL, UR, DL, DR}; | 582 | int eps_solved[4] = {UL, UR, DL, DR}; |
| @@ -594,7 +594,7 @@ init_htr_eposs() | |||
| 594 | } | 594 | } |
| 595 | 595 | ||
| 596 | void | 596 | void |
| 597 | init_coord() | 597 | init_coord(void) |
| 598 | { | 598 | { |
| 599 | static bool initialized = false; | 599 | static bool initialized = false; |
| 600 | if (initialized) | 600 | if (initialized) |
