* i386/i386at/kd.c (kd_getdata, state2leds): Remove forward declarations. * i386/i386at/kd.h (kd_getdata, state2leds): Add prototypes.
--- i386/i386at/kd.c | 6 ------ i386/i386at/kd.h | 3 +++ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c index 176034e..25ed0fd 100644 --- a/i386/i386at/kd.c +++ b/i386/i386at/kd.c @@ -126,9 +126,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. @@ -398,7 +395,6 @@ kd_debug_put( } #endif /* DEBUG */ - extern int mouse_in_use; int old_kb_mode; @@ -890,7 +886,6 @@ kd_resend(void) kd_senddata(last_sent); } - /* * do_modifier: * @@ -1217,7 +1212,6 @@ kd_belloff(void * param) return; } - /* * kd_bellon: * diff --git a/i386/i386at/kd.h b/i386/i386at/kd.h index de3bf92..daccaa8 100644 --- a/i386/i386at/kd.h +++ b/i386/i386at/kd.h @@ -781,4 +781,7 @@ 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); +u_char state2leds(int state); + #endif /* _KD_H_ */ -- 1.8.1.4