remove STATIC_DCL, STATIC_OVL, STATIC_VAR, STATIC_PTR from sys/msdos
This commit is contained in:
+8
-8
@@ -49,12 +49,12 @@ void FDECL(get_cursor, (int *, int *));
|
|||||||
|
|
||||||
/* direct bios calls are used only when iflags.BIOS is set */
|
/* direct bios calls are used only when iflags.BIOS is set */
|
||||||
|
|
||||||
STATIC_DCL char NDECL(DOSgetch);
|
static char NDECL(DOSgetch);
|
||||||
STATIC_DCL char NDECL(BIOSgetch);
|
static char NDECL(BIOSgetch);
|
||||||
#ifndef __GO32__
|
#ifndef __GO32__
|
||||||
STATIC_DCL char *NDECL(getdta);
|
static char *NDECL(getdta);
|
||||||
#endif
|
#endif
|
||||||
STATIC_DCL unsigned int FDECL(dos_ioctl, (int, int, unsigned));
|
static unsigned int FDECL(dos_ioctl, (int, int, unsigned));
|
||||||
#ifdef USE_TILES
|
#ifdef USE_TILES
|
||||||
extern boolean FDECL(pckeys, (unsigned char, unsigned char)); /* pckeys.c */
|
extern boolean FDECL(pckeys, (unsigned char, unsigned char)); /* pckeys.c */
|
||||||
#endif
|
#endif
|
||||||
@@ -243,7 +243,7 @@ static const char numeric_scanmap[] = { /* ... */
|
|||||||
#define ALT 0x8
|
#define ALT 0x8
|
||||||
#endif /* PC9800 */
|
#endif /* PC9800 */
|
||||||
|
|
||||||
STATIC_OVL char
|
static char
|
||||||
BIOSgetch()
|
BIOSgetch()
|
||||||
{
|
{
|
||||||
unsigned char scan, shift, ch = 0;
|
unsigned char scan, shift, ch = 0;
|
||||||
@@ -303,7 +303,7 @@ BIOSgetch()
|
|||||||
return ch;
|
return ch;
|
||||||
}
|
}
|
||||||
|
|
||||||
STATIC_OVL char
|
static char
|
||||||
DOSgetch()
|
DOSgetch()
|
||||||
{
|
{
|
||||||
union REGS regs;
|
union REGS regs;
|
||||||
@@ -406,7 +406,7 @@ foundfile_buffer()
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Get disk transfer area */
|
/* Get disk transfer area */
|
||||||
STATIC_OVL char *
|
static char *
|
||||||
getdta()
|
getdta()
|
||||||
{
|
{
|
||||||
union REGS regs;
|
union REGS regs;
|
||||||
@@ -503,7 +503,7 @@ enable_ctrlP()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
STATIC_OVL unsigned int
|
static unsigned int
|
||||||
dos_ioctl(handle, mode, setvalue)
|
dos_ioctl(handle, mode, setvalue)
|
||||||
int handle, mode;
|
int handle, mode;
|
||||||
unsigned setvalue;
|
unsigned setvalue;
|
||||||
|
|||||||
+2
-2
@@ -122,7 +122,7 @@ void FDECL(get_cursor, (int *, int *));
|
|||||||
void FDECL(adjust_cursor_flags, (struct WinDesc *));
|
void FDECL(adjust_cursor_flags, (struct WinDesc *));
|
||||||
void FDECL(cmov, (int, int));
|
void FDECL(cmov, (int, int));
|
||||||
void FDECL(nocmov, (int, int));
|
void FDECL(nocmov, (int, int));
|
||||||
STATIC_DCL void NDECL(init_ttycolor);
|
static void NDECL(init_ttycolor);
|
||||||
|
|
||||||
int savevmode; /* store the original video mode in here */
|
int savevmode; /* store the original video mode in here */
|
||||||
int curcol, currow; /* graphics mode current cursor locations */
|
int curcol, currow; /* graphics mode current cursor locations */
|
||||||
@@ -719,7 +719,7 @@ char *schoice[3] = { "dark", "normal", "light" };
|
|||||||
char *shade[3];
|
char *shade[3];
|
||||||
#endif /* VIDEOSHADES */
|
#endif /* VIDEOSHADES */
|
||||||
|
|
||||||
STATIC_OVL void
|
static void
|
||||||
init_ttycolor()
|
init_ttycolor()
|
||||||
{
|
{
|
||||||
#ifdef VIDEOSHADES
|
#ifdef VIDEOSHADES
|
||||||
|
|||||||
+22
-22
@@ -104,18 +104,18 @@
|
|||||||
|
|
||||||
extern short glyph2tile[];
|
extern short glyph2tile[];
|
||||||
|
|
||||||
/* STATIC_DCL void FDECL(vga_NoBorder, (int)); */
|
/* static void FDECL(vga_NoBorder, (int)); */
|
||||||
void FDECL(vga_gotoloc, (int, int)); /* This should be made a macro */
|
void FDECL(vga_gotoloc, (int, int)); /* This should be made a macro */
|
||||||
void NDECL(vga_backsp);
|
void NDECL(vga_backsp);
|
||||||
#ifdef SCROLLMAP
|
#ifdef SCROLLMAP
|
||||||
STATIC_DCL void FDECL(vga_scrollmap, (BOOLEAN_P));
|
static void FDECL(vga_scrollmap, (BOOLEAN_P));
|
||||||
#endif
|
#endif
|
||||||
STATIC_DCL void FDECL(vga_redrawmap, (BOOLEAN_P));
|
static void FDECL(vga_redrawmap, (BOOLEAN_P));
|
||||||
static void FDECL(vga_cliparound, (int, int));
|
static void FDECL(vga_cliparound, (int, int));
|
||||||
STATIC_OVL void FDECL(decal_planar, (struct planar_cell_struct *, unsigned));
|
static void FDECL(decal_planar, (struct planar_cell_struct *, unsigned));
|
||||||
|
|
||||||
#ifdef POSITIONBAR
|
#ifdef POSITIONBAR
|
||||||
STATIC_DCL void NDECL(positionbar);
|
static void NDECL(positionbar);
|
||||||
static void FDECL(vga_special, (int, int, int));
|
static void FDECL(vga_special, (int, int, int));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -147,11 +147,11 @@ extern boolean inmap; /* in the map window */
|
|||||||
* Global Variables
|
* Global Variables
|
||||||
*/
|
*/
|
||||||
|
|
||||||
STATIC_VAR unsigned char __far *font;
|
static unsigned char __far *font;
|
||||||
STATIC_VAR char *screentable[SCREENHEIGHT];
|
static char *screentable[SCREENHEIGHT];
|
||||||
|
|
||||||
STATIC_VAR const struct Pixel *paletteptr;
|
static const struct Pixel *paletteptr;
|
||||||
STATIC_VAR struct map_struct {
|
static struct map_struct {
|
||||||
int glyph;
|
int glyph;
|
||||||
int ch;
|
int ch;
|
||||||
int attr;
|
int attr;
|
||||||
@@ -171,13 +171,13 @@ STATIC_VAR struct map_struct {
|
|||||||
}
|
}
|
||||||
#define TOP_MAP_ROW 1
|
#define TOP_MAP_ROW 1
|
||||||
|
|
||||||
STATIC_VAR int vgacmap[CLR_MAX] = { 1, 4, 6, 10, 5, 9, 0, 15,
|
static int vgacmap[CLR_MAX] = { 1, 4, 6, 10, 5, 9, 0, 15,
|
||||||
12, 3, 7, 8, 2, 9, 0, 14 };
|
12, 3, 7, 8, 2, 9, 0, 14 };
|
||||||
STATIC_VAR int viewport_size = 40;
|
static int viewport_size = 40;
|
||||||
/* STATIC_VAR char masktable[8]={0x80,0x40,0x20,0x10,0x08,0x04,0x02,0x01}; */
|
/* static char masktable[8]={0x80,0x40,0x20,0x10,0x08,0x04,0x02,0x01}; */
|
||||||
/* STATIC_VAR char bittable[8]= {0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80}; */
|
/* static char bittable[8]= {0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80}; */
|
||||||
#if 0
|
#if 0
|
||||||
STATIC_VAR char defpalette[] = { /* Default VGA palette */
|
static char defpalette[] = { /* Default VGA palette */
|
||||||
0x00, 0x00, 0x00,
|
0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0xaa,
|
0x00, 0x00, 0xaa,
|
||||||
0x00, 0xaa, 0x00,
|
0x00, 0xaa, 0x00,
|
||||||
@@ -202,10 +202,10 @@ int vp[SCREENPLANES] = { 8, 4, 2, 1 };
|
|||||||
#endif
|
#endif
|
||||||
int vp2[SCREENPLANES] = { 1, 2, 4, 8 };
|
int vp2[SCREENPLANES] = { 1, 2, 4, 8 };
|
||||||
|
|
||||||
STATIC_VAR struct planar_cell_struct planecell;
|
static struct planar_cell_struct planecell;
|
||||||
STATIC_VAR struct overview_planar_cell_struct planecell_O;
|
static struct overview_planar_cell_struct planecell_O;
|
||||||
|
|
||||||
/* STATIC_VAR int g_attribute; */ /* Current attribute to use */
|
/* static int g_attribute; */ /* Current attribute to use */
|
||||||
|
|
||||||
void
|
void
|
||||||
vga_get_scr_size()
|
vga_get_scr_size()
|
||||||
@@ -455,7 +455,7 @@ int x, y;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
STATIC_OVL void
|
static void
|
||||||
vga_redrawmap(clearfirst)
|
vga_redrawmap(clearfirst)
|
||||||
boolean clearfirst;
|
boolean clearfirst;
|
||||||
{
|
{
|
||||||
@@ -578,7 +578,7 @@ vga_refresh()
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef SCROLLMAP
|
#ifdef SCROLLMAP
|
||||||
STATIC_OVL void
|
static void
|
||||||
vga_scrollmap(left)
|
vga_scrollmap(left)
|
||||||
boolean left;
|
boolean left;
|
||||||
{
|
{
|
||||||
@@ -724,7 +724,7 @@ unsigned char (*indexes)[TILE_X];
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
STATIC_OVL void
|
static void
|
||||||
decal_planar(gp, special)
|
decal_planar(gp, special)
|
||||||
struct planar_cell_struct *gp;
|
struct planar_cell_struct *gp;
|
||||||
unsigned special;
|
unsigned special;
|
||||||
@@ -858,7 +858,7 @@ vga_Finish(void)
|
|||||||
* to a more standard values - MJA 94/04/23.
|
* to a more standard values - MJA 94/04/23.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
STATIC_OVL void
|
static void
|
||||||
vga_NoBorder(int bc)
|
vga_NoBorder(int bc)
|
||||||
{
|
{
|
||||||
union REGS regs;
|
union REGS regs;
|
||||||
@@ -1121,7 +1121,7 @@ char *posbar;
|
|||||||
*p = 0;
|
*p = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
STATIC_OVL void
|
static void
|
||||||
positionbar()
|
positionbar()
|
||||||
{
|
{
|
||||||
char *posbar = pbar;
|
char *posbar = pbar;
|
||||||
|
|||||||
Reference in New Issue
Block a user