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/lex.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/lex.c')
| -rw-r--r-- | boot/lex.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 }); } |
