summaryrefslogtreecommitdiff
path: root/i386/i386at/kd.h
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-10 19:20:00 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-11 00:12:50 +0100
commit20330e2ef271a5effee1d8b39db1bfec8f465ec7 (patch)
tree861d0ece0bfd64f0fff5878a3e063533d15c5d4a /i386/i386at/kd.h
parentd8ba8dbcc3535c67eeb1b75b89fc4b270bfb89b9 (diff)
i386/i386at/kd.c: remove forward declarations
* i386/i386at/kd.c (kd_getdata, state2leds, kdstart, kdstop): Remove forward declarations. * i386/i386at/kd.h (kd_getdata, state2leds, kdstart, kdstop): Add prototypes. Include device/tty.h.
Diffstat (limited to 'i386/i386at/kd.h')
-rw-r--r--i386/i386at/kd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/i386/i386at/kd.h b/i386/i386at/kd.h
index f5cd5fc..29c3611 100644
--- a/i386/i386at/kd.h
+++ b/i386/i386at/kd.h
@@ -78,6 +78,7 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <device/cons.h>
#include <device/io_req.h>
#include <device/buf.h>
+#include <device/tty.h>
#include <i386at/kdsoft.h>
/*
@@ -785,4 +786,10 @@ void bmpch2bit(csrpos_t pos, short *xb, short *yb);
void bmppaintcsr(csrpos_t pos, u_char val);
u_char *bit2fbptr(short xb, short yb);
+unsigned char kd_getdata(void);
+unsigned char state2leds(int state);
+
+void kdstart(struct tty *tp);
+void kdstop(struct tty *tp, int flags);
+
#endif /* _KD_H_ */