From 3b8b07ee2eb21e043a56cdc548e2be34857adb00 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Tue, 24 Aug 2021 17:12:57 +0200 Subject: replace () with (void) in function definitions `()` means that any amt of arguments will be accepted, which isn't what i want --- src/kernel/tests/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/tests/util.c') diff --git a/src/kernel/tests/util.c b/src/kernel/tests/util.c index 3bc2124..67ff1c4 100644 --- a/src/kernel/tests/util.c +++ b/src/kernel/tests/util.c @@ -33,7 +33,7 @@ TEST(static_strcmp) { TEST_COND(0 < static_strcmp("654", "555")); } -void tests_utils() { +void tests_utils(void) { TEST_RUN(memcmp); TEST_RUN(static_strcmp); } -- cgit v1.2.3