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/arch/log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/arch/log.h') diff --git a/src/kernel/arch/log.h b/src/kernel/arch/log.h index ea76292..ef8cb17 100644 --- a/src/kernel/arch/log.h +++ b/src/kernel/arch/log.h @@ -1,7 +1,7 @@ #pragma once #include -void tty_init(); +void tty_init(void); void tty_write(const char *buf, size_t len); static inline void _tty_hex(const char *buf, size_t len) { -- cgit v1.2.3