diff options
Diffstat (limited to 'src/kernel/arch/i386/tty/serial.h')
-rw-r--r-- | src/kernel/arch/i386/tty/serial.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/arch/i386/tty/serial.h b/src/kernel/arch/i386/tty/serial.h index 751e528..808f1aa 100644 --- a/src/kernel/arch/i386/tty/serial.h +++ b/src/kernel/arch/i386/tty/serial.h @@ -1,6 +1,7 @@ #pragma once +#include <stdbool.h> #include <stddef.h> -char serial_read(void); +bool serial_poll_read(char *c); void serial_write(const char *buf, size_t len); void serial_init(void); |