aboutsummaryrefslogtreecommitdiff
path: root/libc/serial.c
diff options
context:
space:
mode:
authorMarvin Borner2021-02-25 20:45:10 +0100
committerMarvin Borner2021-02-25 20:45:10 +0100
commita9710cb73cc9ecadaff241428a39a26935cb5c0a (patch)
tree68f509407bc49a4da43ccadfd9115b9e6f7eb413 /libc/serial.c
parent26587adae4f5ec61d03fd7075805a24b29107fe3 (diff)
Applied even more warning flags!
Fixing all the warnings wasn't that easy actually..
Diffstat (limited to 'libc/serial.c')
-rw-r--r--libc/serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/serial.c b/libc/serial.c
index 62263fb..b11ac26 100644
--- a/libc/serial.c
+++ b/libc/serial.c
@@ -5,7 +5,7 @@
#include <serial.h>
#include <str.h>
-void serial_install()
+void serial_install(void)
{
outb(0x3f8 + 1, 0x00);
outb(0x3f8 + 3, 0x80);
@@ -16,7 +16,7 @@ void serial_install()
outb(0x3f8 + 4, 0x0B);
}
-static int is_transmit_empty()
+static int is_transmit_empty(void)
{
return inb(0x3f8 + 5) & 0x20;
}