diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-09-26 14:59:11 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-09-26 15:00:16 +0200 |
| commit | 818186b480d7c05e0c58ff89da2180f5b2476434 (patch) | |
| tree | 0f6e4919d4001775a4820dffd29448dbd20c00db /src/nissy.c | |
| parent | bb09e52a7481718ae1fe324d16b99970450908f8 (diff) | |
| download | nissy-core-818186b480d7c05e0c58ff89da2180f5b2476434.tar.gz nissy-core-818186b480d7c05e0c58ff89da2180f5b2476434.zip | |
Added TOOLARGS and simplified gendata tool(s)
Diffstat (limited to 'src/nissy.c')
| -rw-r--r-- | src/nissy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nissy.c b/src/nissy.c index 6bc4aea..318cff1 100644 --- a/src/nissy.c +++ b/src/nissy.c | |||
| @@ -11,7 +11,7 @@ | |||
| 11 | 11 | ||
| 12 | #include "nissy.h" | 12 | #include "nissy.h" |
| 13 | 13 | ||
| 14 | STATIC int parse_h48_options(const char *, uint8_t *, uint8_t *, uint8_t *); | 14 | int parse_h48_options(const char *, uint8_t *, uint8_t *, uint8_t *); |
| 15 | STATIC int64_t write_result(cube_t, char [static 22]); | 15 | STATIC int64_t write_result(cube_t, char [static 22]); |
| 16 | 16 | ||
| 17 | /* TODO: add option to get DR, maybe C-only, E-only, eo... */ | 17 | /* TODO: add option to get DR, maybe C-only, E-only, eo... */ |
| @@ -24,7 +24,7 @@ struct { | |||
| 24 | GETCUBE_OPTIONS(NULL, NULL) | 24 | GETCUBE_OPTIONS(NULL, NULL) |
| 25 | }; | 25 | }; |
| 26 | 26 | ||
| 27 | STATIC int | 27 | int |
| 28 | parse_h48_options(const char *buf, uint8_t *h, uint8_t *k, uint8_t *maxdepth) | 28 | parse_h48_options(const char *buf, uint8_t *h, uint8_t *k, uint8_t *maxdepth) |
| 29 | { | 29 | { |
| 30 | bool h_valid, k_valid, maxdepth_valid; | 30 | bool h_valid, k_valid, maxdepth_valid; |
