summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/tty/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/arch/i386/tty/serial.c')
-rw-r--r--src/kernel/arch/i386/tty/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/arch/i386/tty/serial.c b/src/kernel/arch/i386/tty/serial.c
index 6bfe212..a259750 100644
--- a/src/kernel/arch/i386/tty/serial.c
+++ b/src/kernel/arch/i386/tty/serial.c
@@ -4,7 +4,7 @@
const int COM1 = 0x3f8;
-void serial_init() {
+void serial_init(void) {
// see https://www.sci.muni.cz/docs/pc/serport.txt
port_outb(COM1 + 1, 0x00); // disable interrupts, we won't be using them