switch source tree from k&r to c99

This commit is contained in:
nhmall
2021-01-26 21:06:16 -05:00
parent a2a9cb7b4f
commit f963c5aca7
232 changed files with 12099 additions and 17782 deletions

View File

@@ -13,11 +13,11 @@
#include "wintty.h"
#include "pcvideo.h"
boolean FDECL(pckeys, (unsigned char, unsigned char));
static void FDECL(userpan, (BOOLEAN_P));
static void FDECL(overview, (BOOLEAN_P));
static void FDECL(traditional, (BOOLEAN_P));
static void NDECL(refresh);
boolean pckeys(unsigned char, unsigned char);
static void userpan(boolean);
static void overview(boolean);
static void traditional(boolean);
static void refresh(void);
extern struct WinDesc *wins[MAXWIN]; /* from wintty.c */
extern boolean inmap; /* from video.c */
@@ -32,9 +32,7 @@ extern boolean inmap; /* from video.c */
*
*/
boolean
pckeys(scancode, shift)
unsigned char scancode;
unsigned char shift;
pckeys(unsigned char scancode, unsigned char shift)
{
boolean opening_dialog;
@@ -78,8 +76,7 @@ unsigned char shift;
}
static void
userpan(on)
boolean on;
userpan(boolean on)
{
#ifdef SCREEN_VGA
if (iflags.usevga)
@@ -92,8 +89,7 @@ boolean on;
}
static void
overview(on)
boolean on;
overview(boolean on)
{
#ifdef SCREEN_VGA
if (iflags.usevga)
@@ -106,8 +102,7 @@ boolean on;
}
static void
traditional(on)
boolean on;
traditional(boolean on)
{
#ifdef SCREEN_VGA
if (iflags.usevga)
@@ -120,7 +115,7 @@ boolean on;
}
static void
refresh()
refresh(void)
{
#ifdef SCREEN_VGA
if (iflags.usevga)