From 255638fec41bf310aa90cddd238e2251caadfc92 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Thu, 5 Dec 2013 22:03:12 +0100 Subject: device/tty.h, chario.h: move prototype Now that we have device/chario.h move the chario_init() prototype from device/tty.h to device/chario.h. * device/chario.h (chario_init): Add prototype. * device/device_init.c: Include device/chario.h. * device/tty.h (chario_init): Remove prototype. --- device/chario.h | 2 ++ device/device_init.c | 1 + device/tty.h | 2 -- 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 +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 #include #include +#include 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_ */ -- cgit v1.2.3