revert NO_MAIN_DRIVER behavior in benchmark app

This commit is contained in:
Jacob Barthelmeh
2022-10-24 16:27:23 -06:00
parent 53bc10eb76
commit eb4c3e06eb

View File

@ -8434,7 +8434,7 @@ static int string_matches(const char* arg, const char* str)
}
#endif /* MAIN_NO_ARGS */
#ifndef NO_MAIN_FUNCTION
#if !defined(NO_MAIN_DRIVER) && !defined(NO_MAIN_FUNCTION)
#if defined(WOLFSSL_ESPIDF) || defined(_WIN32_WCE)
int wolf_benchmark_task(void)
#elif defined(MAIN_NO_ARGS)
@ -8449,7 +8449,7 @@ int main(int argc, char** argv)
#endif
return wolfcrypt_benchmark_main(argc, argv);
}
#endif /* NO_MAIN_FUNCTION */
#endif /* NO_MAIN_DRIVER && NO_MAIN_FUNCTION */
int wolfcrypt_benchmark_main(int argc, char** argv)
{