diff options
Diffstat (limited to 'tools/tool.h')
| -rw-r--r-- | tools/tool.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tools/tool.h b/tools/tool.h index 96e7f27..582e2ce 100644 --- a/tools/tool.h +++ b/tools/tool.h | |||
| @@ -18,10 +18,9 @@ | |||
| 18 | static void log_stderr(const char *, void *); | 18 | static void log_stderr(const char *, void *); |
| 19 | static double timerun(void (*)(void)); | 19 | static double timerun(void (*)(void)); |
| 20 | static void writetable(const unsigned char *, int64_t, const char *); | 20 | static void writetable(const unsigned char *, int64_t, const char *); |
| 21 | static long long int generatetable(const char *, unsigned char **, | 21 | static long long int generatetable(const char *, unsigned char **, char *); |
| 22 | char [static NISSY_SIZE_DATAID]); | ||
| 23 | static int getdata(const char *, unsigned char **, const char *); | 22 | static int getdata(const char *, unsigned char **, const char *); |
| 24 | static void gendata_run(const char *, uint64_t[static 21]); | 23 | static void gendata_run(const char *, uint64_t *); |
| 25 | 24 | ||
| 26 | static void | 25 | static void |
| 27 | log_stderr(const char *str, void *unused) | 26 | log_stderr(const char *str, void *unused) |
| @@ -113,7 +112,7 @@ static long long int | |||
| 113 | generatetable( | 112 | generatetable( |
| 114 | const char *solver, | 113 | const char *solver, |
| 115 | unsigned char **buf, | 114 | unsigned char **buf, |
| 116 | char dataid[static NISSY_SIZE_DATAID] | 115 | char *dataid |
| 117 | ) | 116 | ) |
| 118 | { | 117 | { |
| 119 | long long int size, gensize; | 118 | long long int size, gensize; |
| @@ -183,7 +182,7 @@ getdata_error_nofree: | |||
| 183 | static void | 182 | static void |
| 184 | gendata_run( | 183 | gendata_run( |
| 185 | const char *solver, | 184 | const char *solver, |
| 186 | uint64_t expected[static 21] | 185 | uint64_t *expected |
| 187 | ) { | 186 | ) { |
| 188 | long long int size; | 187 | long long int size; |
| 189 | char filename[1024], dataid[NISSY_SIZE_DATAID]; | 188 | char filename[1024], dataid[NISSY_SIZE_DATAID]; |
