diff options
| author | Mel <mel@rnrd.eu> | 2025-06-15 03:55:28 +0200 |
|---|---|---|
| committer | Mel <mel@rnrd.eu> | 2025-06-15 03:55:28 +0200 |
| commit | 19d2a48bb4034b00d4ffbb51fcc37f55af707e05 (patch) | |
| tree | 984b1ffa23de183435e7aef00c4137e637dfd785 /boot/common.c | |
| parent | 7ad3f400dde57f06ef52c2a9cf788a18d1891b7d (diff) | |
| download | catskill-19d2a48bb4034b00d4ffbb51fcc37f55af707e05.tar.zst catskill-19d2a48bb4034b00d4ffbb51fcc37f55af707e05.zip | |
`void` for parameter-less functions (I keep forgetting I'm not writing C++ anymore.. ^^')
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'boot/common.c')
| -rw-r--r-- | boot/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 }, |
