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/lex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot/lex.c') diff --git a/boot/lex.c b/boot/lex.c index 84657fa..30ccd85 100644 --- a/boot/lex.c +++ b/boot/lex.c @@ -360,7 +360,7 @@ token_simple(enum Token_Kind kind, Pos pos, struct Cursor location) } struct Token -token_none() +token_none(void) { return token_simple(TOKEN_NONE, 0, (struct Cursor){ 0 }); } -- cgit 1.4.1