Skip to content

Commit fe3e56f

Browse files
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 <[email protected]>
1 parent b74b7c7 commit fe3e56f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/src/fake_external_rng_for_test.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ static size_t platform_get_entropy_forced_entropy_content = SIZE_MAX;
7070
static size_t platform_get_entropy_forced_output_len = SIZE_MAX;
7171
static size_t platform_get_entropy_call_count;
7272

73-
void mbedtls_test_platform_get_entropy_reset()
73+
void mbedtls_test_platform_get_entropy_reset(void)
7474
{
7575
platform_get_entropy_call_count = 0;
7676
platform_get_entropy_force_failure = 0;
@@ -93,7 +93,7 @@ void mbedtls_test_platform_get_entropy_set_entropy_content(size_t val)
9393
platform_get_entropy_forced_entropy_content = val;
9494
}
9595

96-
size_t mbedtls_test_platform_get_entropy_get_call_count()
96+
size_t mbedtls_test_platform_get_entropy_get_call_count(void)
9797
{
9898
return platform_get_entropy_call_count;
9999
}

0 commit comments

Comments
 (0)