summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/tty
diff options
context:
space:
mode:
authordzwdz2022-05-05 22:58:01 +0200
committerdzwdz2022-05-05 22:58:01 +0200
commit5418a2e1bbc26660bb8579c57fa19e4a04c34200 (patch)
tree6e5c5a4e49f2d59c2e958711eee2070c351cc6df /src/kernel/arch/i386/tty
parent40f4fb7c9879c678fa82906116fefdaed63aaed6 (diff)
kernel: fix a few minor compiler warnings
Diffstat (limited to 'src/kernel/arch/i386/tty')
-rw-r--r--src/kernel/arch/i386/tty/tty.c2
1 files changed, 1 insertions, 1 deletions
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);
}