From 19d2a48bb4034b00d4ffbb51fcc37f55af707e05 Mon Sep 17 00:00:00 2001 From: Mel Date: Sun, 15 Jun 2025 03:55:28 +0200 Subject: `void` for parameter-less functions (I keep forgetting I'm not writing C++ anymore.. ^^') Signed-off-by: Mel --- boot/common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'boot/common.c') diff --git a/boot/common.c b/boot/common.c index b9da4cf..8291a51 100644 --- a/boot/common.c +++ b/boot/common.c @@ -142,7 +142,7 @@ string_new(const ascii* data, uint length) } struct String -string_empty() +string_empty(void) { return (struct String){ .data = nil, @@ -213,7 +213,7 @@ struct String_Array // initializes a string array with no strings. struct String_Array -string_array_new() +string_array_new(void) { return (struct String_Array){ .strings = { 0 }, -- cgit 1.4.1