This allows the tests to be compiled with -Werror=strict-prototypes Reported-by: Tomasz Kłoczko (github.com/opensvc/multipath-tools/issues/80) Signed-off-by: Benjamin Marzinski <bmarzins@xxxxxxxxxx> --- tests/alias.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/alias.c b/tests/alias.c index 93e4b395..c2ae915d 100644 --- a/tests/alias.c +++ b/tests/alias.c @@ -1763,7 +1763,7 @@ static void gufa_check_locking(void **state) { assert_int_equal(lock_errors, 0); } -static int test_get_user_friendly_alias() +static int test_get_user_friendly_alias(void) { const struct CMUnitTest tests[] = { cmocka_unit_test_teardown(gufa_empty_new_rw, teardown_bindings), @@ -1981,7 +1981,7 @@ static void order_06(void **state) order_test(ARRAY_SIZE(ra), ra, true); } -static int test_bindings_order() +static int test_bindings_order(void) { const struct CMUnitTest tests[] = { cmocka_unit_test_teardown(order_01, teardown_bindings), -- 2.43.0