mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Fix main signature in benchmark.c.
If `NO_CRYPT_BENCHMARK` is defined, the main function is `int main()`, but it should be `int main(void)`.
This commit is contained in:
@ -7827,6 +7827,6 @@ int main(int argc, char** argv)
|
||||
|
||||
#else
|
||||
#ifndef NO_MAIN_DRIVER
|
||||
int main() { return 0; }
|
||||
int main(void) { return 0; }
|
||||
#endif
|
||||
#endif /* !NO_CRYPT_BENCHMARK */
|
||||
|
Reference in New Issue
Block a user