From 57586147f6327d4ca1d630d7b336cce20656bc39 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 9 Aug 2021 22:26:29 +0200 Subject: vga tty: vga_putchar is now static --- src/kernel/arch/i386/tty/vga.c | 2 +- src/kernel/arch/i386/tty/vga.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src/kernel/arch') diff --git a/src/kernel/arch/i386/tty/vga.c b/src/kernel/arch/i386/tty/vga.c index 0acf1cb..3cd1034 100644 --- a/src/kernel/arch/i386/tty/vga.c +++ b/src/kernel/arch/i386/tty/vga.c @@ -15,7 +15,7 @@ static void vga_scroll() { vga_pos -= 80; } -void vga_putchar(char c) { +static void vga_putchar(char c) { if (vga_pos >= vga_len - 80) vga_scroll(); vga[vga_pos++].c = c; diff --git a/src/kernel/arch/i386/tty/vga.h b/src/kernel/arch/i386/tty/vga.h index f2e3ff9..c8747c7 100644 --- a/src/kernel/arch/i386/tty/vga.h +++ b/src/kernel/arch/i386/tty/vga.h @@ -1,6 +1,5 @@ #pragma once #include -void vga_putchar(char c); void vga_write(const char *buf, size_t len); void vga_clear(); -- cgit v1.2.3