summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--device/chario.h2
-rw-r--r--device/device_init.c1
-rw-r--r--device/tty.h2
3 files changed, 3 insertions, 2 deletions
diff --git a/device/chario.h b/device/chario.h
index 2dbf09f..52105a2 100644
--- a/device/chario.h
+++ b/device/chario.h
@@ -21,6 +21,8 @@
#include <device/tty.h>
+extern void chario_init(void);
+
void queue_delayed_reply(
queue_t qh,
io_req_t ior,
diff --git a/device/device_init.c b/device/device_init.c
index 701898b..b2c8b88 100644
--- a/device/device_init.c
+++ b/device/device_init.c
@@ -40,6 +40,7 @@
#include <device/tty.h>
#include <device/ds_routines.h>
#include <device/net_io.h>
+#include <device/chario.h>
ipc_port_t master_device_port;
diff --git a/device/tty.h b/device/tty.h
index dcc7711..2fafa42 100644
--- a/device/tty.h
+++ b/device/tty.h
@@ -234,6 +234,4 @@ struct ldisc_switch {
extern struct ldisc_switch linesw[];
-extern void chario_init(void);
-
#endif /* _DEVICE_TTY_H_ */