mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-06-05 21:15:09 +00:00
Fix clang warning
Fix clang warning related to mismatch between function prototype and function definition: void func(void) vs void func(). Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
@@ -70,7 +70,7 @@ static size_t platform_get_entropy_forced_entropy_content = SIZE_MAX;
|
||||
static size_t platform_get_entropy_forced_output_len = SIZE_MAX;
|
||||
static size_t platform_get_entropy_call_count;
|
||||
|
||||
void mbedtls_test_platform_get_entropy_reset()
|
||||
void mbedtls_test_platform_get_entropy_reset(void)
|
||||
{
|
||||
platform_get_entropy_call_count = 0;
|
||||
platform_get_entropy_force_failure = 0;
|
||||
@@ -93,7 +93,7 @@ void mbedtls_test_platform_get_entropy_set_entropy_content(size_t val)
|
||||
platform_get_entropy_forced_entropy_content = val;
|
||||
}
|
||||
|
||||
size_t mbedtls_test_platform_get_entropy_get_call_count()
|
||||
size_t mbedtls_test_platform_get_entropy_get_call_count(void)
|
||||
{
|
||||
return platform_get_entropy_call_count;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user