diff options
Diffstat (limited to 'include/console.h')
-rw-r--r-- | include/console.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/console.h b/include/console.h index 45f914b..b6fc8bf 100644 --- a/include/console.h +++ b/include/console.h @@ -51,7 +51,7 @@ struct con_ops { size_t (*write)(const char *buf, size_t len); size_t (*read)(char *buf, size_t len); bool (*poll_read)(void); - void (*flush)(void); + int64_t (*flush)(void); }; extern struct lock con_lock; @@ -62,7 +62,7 @@ extern bool flush_console(void); extern bool __flush_console(bool flush_to_drivers); extern void set_console(struct con_ops *driver); -extern void flush_console_driver(void); +extern void console_complete_flush(void); extern int mambo_read(void); extern void mambo_write(const char *buf, size_t count); |