summaryrefslogtreecommitdiff
path: root/i386/i386at/kd.c
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.c
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.c')
-rw-r--r--i386/i386at/kd.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c
index 757bce2..8b09ada 100644
--- a/i386/i386at/kd.c
+++ b/i386/i386at/kd.c
@@ -122,10 +122,6 @@ void (*kd_dsetcursor)() = charsetcursor;
/* set cursor position on displayed page */
void (*kd_dreset)() = kd_noopreset; /* prepare for reboot */
-/* forward declarations */
-unsigned char kd_getdata(), state2leds();
-
-
/*
* Globals used for both character-based controllers and bitmap-based
* controllers. Default is EGA.
@@ -450,9 +446,7 @@ kdopen(dev, flag, ior)
io_req_t ior;
{
struct tty *tp;
- void kdstart();
spl_t o_pri;
- void kdstop();
tp = &kd_tty;
o_pri = spltty();