mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +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
|
#else
|
||||||
#ifndef NO_MAIN_DRIVER
|
#ifndef NO_MAIN_DRIVER
|
||||||
int main() { return 0; }
|
int main(void) { return 0; }
|
||||||
#endif
|
#endif
|
||||||
#endif /* !NO_CRYPT_BENCHMARK */
|
#endif /* !NO_CRYPT_BENCHMARK */
|
||||||
|
Reference in New Issue
Block a user