[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 18/66] device/tty.h, chario.h: move prototype
From: |
Marin Ramesa |
Subject: |
[PATCH 18/66] device/tty.h, chario.h: move prototype |
Date: |
Thu, 5 Dec 2013 22:03:12 +0100 |
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 <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 e43a2a9..7e3e7c4 100644
--- a/device/device_init.c
+++ b/device/device_init.c
@@ -38,6 +38,7 @@
#include <device/device_types.h>
#include <device/device_port.h>
#include <device/tty.h>
+#include <device/chario.h>
extern void mach_device_init();
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_ */
--
1.8.1.4
- [PATCH 10/66] device/chario.c: use boolean instead of an int, (continued)
- [PATCH 10/66] device/chario.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 11/66] device/cirbuf.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 12/66] device/cons.h: remove ifdef, Marin Ramesa, 2013/12/05
- [PATCH 14/66] device/if_ether.h: remove unused variable, Marin Ramesa, 2013/12/05
- [PATCH 13/66] device/dev_lookup.c: remove unused lock, Marin Ramesa, 2013/12/05
- [PATCH 15/66] device/if_ether.h: remove ifdef, Marin Ramesa, 2013/12/05
- [PATCH 16/66] device/kmsg.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 17/66] device/kmsg.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 18/66] device/tty.h, chario.h: move prototype,
Marin Ramesa <=
- [PATCH 19/66] i386/i386/db_interface.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 20/66] i386/i386/db_interface.c: remove dead assignment, Marin Ramesa, 2013/12/05
- [PATCH 22/66] i386/i386/db_interface.c: remove dead assignment, Marin Ramesa, 2013/12/05
- [PATCH 21/66] i386/i386/db_interface.c: remove dead assignment, Marin Ramesa, 2013/12/05
- [PATCH 24/66] i386/i386/mp_desc.c: remove unused variable, Marin Ramesa, 2013/12/05
- [PATCH 23/66] i386/i386/ipl.h: remove ifdef and add ifndef, Marin Ramesa, 2013/12/05
- [PATCH 26/66] i386/i386/pic.c: remove unused variables, Marin Ramesa, 2013/12/05