Completed function declarations and/or added prototypes.

This commit is contained in:
Bruce Evans 1995-11-24 15:15:30 +00:00
parent b8a89c9ada
commit fec104de77
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=12477
3 changed files with 7 additions and 2 deletions

View File

@ -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 */

View File

@ -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;

View File

@ -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 */
{