summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/tty/serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/arch/i386/tty/serial.h')
-rw-r--r--src/kernel/arch/i386/tty/serial.h3
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);