summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-11-24 15:15:30 +0000
committerbde <bde@FreeBSD.org>1995-11-24 15:15:30 +0000
commitb487404992be4a872779f0db8ca25a540485087d (patch)
tree21827833d092d36d9828cc26ca54988875b6197b /sys/i386
parenteaebf72f4b2524b522ade2b79d17dc7cec43ae78 (diff)
downloadFreeBSD-src-b487404992be4a872779f0db8ca25a540485087d.zip
FreeBSD-src-b487404992be4a872779f0db8ca25a540485087d.tar.gz
Completed function declarations and/or added prototypes.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/isa/pcvt/pcvt_drv.c2
-rw-r--r--sys/i386/isa/pcvt/pcvt_kbd.c4
-rw-r--r--sys/i386/isa/pcvt/pcvt_out.c3
3 files changed, 7 insertions, 2 deletions
diff --git a/sys/i386/isa/pcvt/pcvt_drv.c b/sys/i386/isa/pcvt/pcvt_drv.c
index 3b9bd04..4060aaa 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 eda2d08..fbd168e 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 93b1ad9..758db0a 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 */
{
OpenPOWER on IntegriCloud