From 5418a2e1bbc26660bb8579c57fa19e4a04c34200 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 5 May 2022 22:58:01 +0200 Subject: kernel: fix a few minor compiler warnings --- src/kernel/arch/i386/tty/tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/arch/i386/tty') diff --git a/src/kernel/arch/i386/tty/tty.c b/src/kernel/arch/i386/tty/tty.c index a1964f9..aa63507 100644 --- a/src/kernel/arch/i386/tty/tty.c +++ b/src/kernel/arch/i386/tty/tty.c @@ -11,7 +11,7 @@ void tty_init(void) { serial_write("<3 ", 3); } -static void backend(void *arg, const char *buf, size_t len) { +static void backend(void __attribute__((unused)) *arg, const char *buf, size_t len) { vga_write(buf, len); serial_write(buf, len); } -- cgit v1.2.3