switch source tree from k&r to c99
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user