summaryrefslogtreecommitdiff
path: root/src/kernel/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/arch')
-rw-r--r--src/kernel/arch/i386/tty/vga.c2
-rw-r--r--src/kernel/arch/i386/tty/vga.h1
2 files changed, 1 insertions, 2 deletions
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 <stddef.h>
-void vga_putchar(char c);
void vga_write(const char *buf, size_t len);
void vga_clear();