diff options
| author | J08nY | 2017-09-29 17:54:12 +0200 |
|---|---|---|
| committer | J08nY | 2017-09-29 17:54:12 +0200 |
| commit | 12443b052474d3e25c7e335743a6ee036e9a8752 (patch) | |
| tree | 7d0bf5daf11da7d48d5b1f65b1ec04873395b74d | |
| parent | 37070e4d1b285797243e79762dd6f9fb98b2fe16 (diff) | |
| download | ecgen-12443b052474d3e25c7e335743a6ee036e9a8752.tar.gz ecgen-12443b052474d3e25c7e335743a6ee036e9a8752.tar.zst ecgen-12443b052474d3e25c7e335743a6ee036e9a8752.zip | |
| -rw-r--r-- | src/exhaustive/exhaustive.c | 6 | ||||
| -rw-r--r-- | src/exhaustive/exhaustive.h | 2 | ||||
| -rw-r--r-- | src/misc/types.h | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/exhaustive/exhaustive.c b/src/exhaustive/exhaustive.c index 9d269f5..131abbb 100644 --- a/src/exhaustive/exhaustive.c +++ b/src/exhaustive/exhaustive.c @@ -123,7 +123,7 @@ static void exhaustive_ginit(gen_f *generators, const config_t *cfg) { } } -static void exhaustive_cinit(check_t *validators, const config_t *cfg) {} +static void exhaustive_cinit(check_f *validators, const config_t *cfg) {} static void exhaustive_ainit(arg_t **argss, const config_t *cfg) { if (cfg->anomalous) { @@ -182,7 +182,7 @@ int exhaustive_gen_retry(curve_t *curve, const config_t *cfg, return 0; } gen_f *generators = setup->generators; - check_t *validators = setup->validators; + check_f *validators = setup->validators; arg_t **argss = setup->argss; unroll_f *unrolls = setup->unrolls; @@ -272,7 +272,7 @@ int exhaustive_do(config_t *cfg) { debug_log_start("Starting Exhaustive method"); gen_f generators[OFFSET_END] = {NULL}; - check_t validators[OFFSET_END] = {NULL}; + check_f validators[OFFSET_END] = {NULL}; arg_t *argss[OFFSET_END] = {NULL}; unroll_f unrolls[OFFSET_END] = {NULL}; diff --git a/src/exhaustive/exhaustive.h b/src/exhaustive/exhaustive.h index 51aa484..e7e45ee 100644 --- a/src/exhaustive/exhaustive.h +++ b/src/exhaustive/exhaustive.h @@ -12,7 +12,7 @@ typedef struct { gen_f *generators; - check_t *validators; + check_f *validators; arg_t **argss; unroll_f *unrolls; } exhaustive_t; diff --git a/src/misc/types.h b/src/misc/types.h index 591dba3..77ee903 100644 --- a/src/misc/types.h +++ b/src/misc/types.h @@ -146,7 +146,7 @@ typedef UNROLL((*unroll_f)); */ #define CHECK(check_name) GENERATOR(check_name) -typedef CHECK((*check_t)); +typedef CHECK((*check_f)); /** * GENERATOR(gen_f) @@ -159,7 +159,7 @@ typedef CHECK((*check_t)); GENERATOR(gen_skip); /** - * CHECK(check_t) + * CHECK(check_f) * * @param curve A curve_t being checked * @param cfg An application config |
