diff options
Diffstat (limited to '')
| -rw-r--r-- | src/nissy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nissy.c b/src/nissy.c index 431362d..e8a6550 100644 --- a/src/nissy.c +++ b/src/nissy.c | |||
| @@ -14,7 +14,7 @@ | |||
| 14 | 14 | ||
| 15 | long long parse_h48_solver( | 15 | long long parse_h48_solver( |
| 16 | const char *, uint8_t [static 1], uint8_t [static 1]); | 16 | const char *, uint8_t [static 1], uint8_t [static 1]); |
| 17 | STATIC bool checkdata(const char *, const tableinfo_t *); | 17 | STATIC bool checkdata(const char *, const tableinfo_t [static 1]); |
| 18 | STATIC bool distribution_equal(const uint64_t [static INFO_DISTRIBUTION_LEN], | 18 | STATIC bool distribution_equal(const uint64_t [static INFO_DISTRIBUTION_LEN], |
| 19 | const uint64_t [static INFO_DISTRIBUTION_LEN], uint8_t); | 19 | const uint64_t [static INFO_DISTRIBUTION_LEN], uint8_t); |
| 20 | STATIC long long write_result(cube_t, char [static NISSY_SIZE_B32]); | 20 | STATIC long long write_result(cube_t, char [static NISSY_SIZE_B32]); |
| @@ -66,11 +66,11 @@ parse_h48_solver_error: | |||
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | STATIC bool | 68 | STATIC bool |
| 69 | checkdata(const char *buf, const tableinfo_t *info) | 69 | checkdata(const char *buf, const tableinfo_t info[static 1]) |
| 70 | { | 70 | { |
| 71 | uint64_t distr[INFO_DISTRIBUTION_LEN]; | 71 | uint64_t distr[INFO_DISTRIBUTION_LEN]; |
| 72 | 72 | ||
| 73 | if (info == NULL || my_strnlen(info->solver, INFO_SOLVER_STRLEN) | 73 | if (my_strnlen(info->solver, INFO_SOLVER_STRLEN) |
| 74 | == INFO_SOLVER_STRLEN) { | 74 | == INFO_SOLVER_STRLEN) { |
| 75 | LOG("checkdata: error reading table info\n"); | 75 | LOG("checkdata: error reading table info\n"); |
| 76 | return false; | 76 | return false; |
