diff --git a/sys/i386/isa/pcvt/pcvt_drv.c b/sys/i386/isa/pcvt/pcvt_drv.c index 3b9bd042b315..4060aaae9584 100644 --- a/sys/i386/isa/pcvt/pcvt_drv.c +++ b/sys/i386/isa/pcvt/pcvt_drv.c @@ -83,6 +83,8 @@ #include "pcvt_hdr.h" /* global include */ +extern int getchar __P((void)); + #if PCVT_NETBSD extern u_short *Crtat; #endif /* PCVT_NETBSD */ diff --git a/sys/i386/isa/pcvt/pcvt_kbd.c b/sys/i386/isa/pcvt/pcvt_kbd.c index eda2d0877175..fbd168eba4c0 100644 --- a/sys/i386/isa/pcvt/pcvt_kbd.c +++ b/sys/i386/isa/pcvt/pcvt_kbd.c @@ -71,6 +71,8 @@ #include "pcvt_hdr.h" /* global include */ +extern int kbd_response __P((void)); + static void fkey1(void), fkey2(void), fkey3(void), fkey4(void); static void fkey5(void), fkey6(void), fkey7(void), fkey8(void); static void fkey9(void), fkey10(void), fkey11(void), fkey12(void); @@ -658,7 +660,7 @@ xlatkey2ascii(U_short key) #endif static Ovl_tbl thisdef; int n; - void (*fnc)(); + void (*fnc)(void); if(key==0) /* ignore the NON-KEY */ return 0; diff --git a/sys/i386/isa/pcvt/pcvt_out.c b/sys/i386/isa/pcvt/pcvt_out.c index 93b1ad9f089e..758db0a95a0a 100644 --- a/sys/i386/isa/pcvt/pcvt_out.c +++ b/sys/i386/isa/pcvt/pcvt_out.c @@ -69,6 +69,7 @@ extern u_short csd_ascii[]; /* pcvt_tbl.h */ extern u_short csd_supplemental[]; +static void write_char (struct video_state *svsp, int attrib, int ch); static void check_scroll ( struct video_state *svsp ); static void hp_entry ( U_char ch, struct video_state *svsp ); static void vt_coldinit ( void ); @@ -84,7 +85,7 @@ static void writefkl ( int num, u_char *string, struct video_state *svsp ); static __inline void write_char (svsp, attrib, ch) struct video_state *svsp; -u_short attrib, ch; +u_short attrib, ch; /* XXX inefficient interface */ { if ((ch >= 0x20) && (ch <= 0x7f)) /* use GL if ch >= 0x20 */ {