remove STATIC_DCL, STATIC_OVL, STATIC_VAR, STATIC_PTR from sys/msdos
This commit is contained in:
+22
-22
@@ -104,18 +104,18 @@
|
||||
|
||||
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 NDECL(vga_backsp);
|
||||
#ifdef SCROLLMAP
|
||||
STATIC_DCL void FDECL(vga_scrollmap, (BOOLEAN_P));
|
||||
static void FDECL(vga_scrollmap, (BOOLEAN_P));
|
||||
#endif
|
||||
STATIC_DCL void FDECL(vga_redrawmap, (BOOLEAN_P));
|
||||
static void FDECL(vga_redrawmap, (BOOLEAN_P));
|
||||
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
|
||||
STATIC_DCL void NDECL(positionbar);
|
||||
static void NDECL(positionbar);
|
||||
static void FDECL(vga_special, (int, int, int));
|
||||
#endif
|
||||
|
||||
@@ -147,11 +147,11 @@ extern boolean inmap; /* in the map window */
|
||||
* Global Variables
|
||||
*/
|
||||
|
||||
STATIC_VAR unsigned char __far *font;
|
||||
STATIC_VAR char *screentable[SCREENHEIGHT];
|
||||
static unsigned char __far *font;
|
||||
static char *screentable[SCREENHEIGHT];
|
||||
|
||||
STATIC_VAR const struct Pixel *paletteptr;
|
||||
STATIC_VAR struct map_struct {
|
||||
static const struct Pixel *paletteptr;
|
||||
static struct map_struct {
|
||||
int glyph;
|
||||
int ch;
|
||||
int attr;
|
||||
@@ -171,13 +171,13 @@ STATIC_VAR struct map_struct {
|
||||
}
|
||||
#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 };
|
||||
STATIC_VAR int viewport_size = 40;
|
||||
/* STATIC_VAR 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 int viewport_size = 40;
|
||||
/* static char masktable[8]={0x80,0x40,0x20,0x10,0x08,0x04,0x02,0x01}; */
|
||||
/* static char bittable[8]= {0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80}; */
|
||||
#if 0
|
||||
STATIC_VAR char defpalette[] = { /* Default VGA palette */
|
||||
static char defpalette[] = { /* Default VGA palette */
|
||||
0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0xaa,
|
||||
0x00, 0xaa, 0x00,
|
||||
@@ -202,10 +202,10 @@ int vp[SCREENPLANES] = { 8, 4, 2, 1 };
|
||||
#endif
|
||||
int vp2[SCREENPLANES] = { 1, 2, 4, 8 };
|
||||
|
||||
STATIC_VAR struct planar_cell_struct planecell;
|
||||
STATIC_VAR struct overview_planar_cell_struct planecell_O;
|
||||
static struct planar_cell_struct planecell;
|
||||
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
|
||||
vga_get_scr_size()
|
||||
@@ -455,7 +455,7 @@ int x, y;
|
||||
}
|
||||
}
|
||||
|
||||
STATIC_OVL void
|
||||
static void
|
||||
vga_redrawmap(clearfirst)
|
||||
boolean clearfirst;
|
||||
{
|
||||
@@ -578,7 +578,7 @@ vga_refresh()
|
||||
}
|
||||
|
||||
#ifdef SCROLLMAP
|
||||
STATIC_OVL void
|
||||
static void
|
||||
vga_scrollmap(left)
|
||||
boolean left;
|
||||
{
|
||||
@@ -724,7 +724,7 @@ unsigned char (*indexes)[TILE_X];
|
||||
}
|
||||
}
|
||||
|
||||
STATIC_OVL void
|
||||
static void
|
||||
decal_planar(gp, special)
|
||||
struct planar_cell_struct *gp;
|
||||
unsigned special;
|
||||
@@ -858,7 +858,7 @@ vga_Finish(void)
|
||||
* to a more standard values - MJA 94/04/23.
|
||||
*
|
||||
*/
|
||||
STATIC_OVL void
|
||||
static void
|
||||
vga_NoBorder(int bc)
|
||||
{
|
||||
union REGS regs;
|
||||
@@ -1121,7 +1121,7 @@ char *posbar;
|
||||
*p = 0;
|
||||
}
|
||||
|
||||
STATIC_OVL void
|
||||
static void
|
||||
positionbar()
|
||||
{
|
||||
char *posbar = pbar;
|
||||
|
||||
Reference in New Issue
Block a user