diff options
Diffstat (limited to 'libc/serial.c')
-rw-r--r-- | libc/serial.c | 4 |
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; } |