aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-09-26 14:59:11 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-09-26 15:00:16 +0200
commit818186b480d7c05e0c58ff89da2180f5b2476434 (patch)
tree0f6e4919d4001775a4820dffd29448dbd20c00db /src
parentbb09e52a7481718ae1fe324d16b99970450908f8 (diff)
downloadnissy-core-818186b480d7c05e0c58ff89da2180f5b2476434.tar.gz
nissy-core-818186b480d7c05e0c58ff89da2180f5b2476434.zip
Added TOOLARGS and simplified gendata tool(s)
Diffstat (limited to 'src')
-rw-r--r--src/nissy.c4
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
14STATIC int parse_h48_options(const char *, uint8_t *, uint8_t *, uint8_t *); 14int parse_h48_options(const char *, uint8_t *, uint8_t *, uint8_t *);
15STATIC int64_t write_result(cube_t, char [static 22]); 15STATIC 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
27STATIC int 27int
28parse_h48_options(const char *buf, uint8_t *h, uint8_t *k, uint8_t *maxdepth) 28parse_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;

Generated with cgit - Back to sebastiano.tronto.net