remove STATIC_DCL, STATIC_OVL, STATIC_VAR, STATIC_PTR from core
This commit is contained in:
+10
-10
@@ -5,11 +5,11 @@
|
||||
|
||||
#include "hack.h"
|
||||
|
||||
STATIC_DCL boolean FDECL(tele_jump_ok, (int, int, int, int));
|
||||
STATIC_DCL boolean FDECL(teleok, (int, int, BOOLEAN_P));
|
||||
STATIC_DCL void NDECL(vault_tele);
|
||||
STATIC_DCL boolean FDECL(rloc_pos_ok, (int, int, struct monst *));
|
||||
STATIC_DCL void FDECL(mvault_tele, (struct monst *));
|
||||
static boolean FDECL(tele_jump_ok, (int, int, int, int));
|
||||
static boolean FDECL(teleok, (int, int, BOOLEAN_P));
|
||||
static void NDECL(vault_tele);
|
||||
static boolean FDECL(rloc_pos_ok, (int, int, struct monst *));
|
||||
static void FDECL(mvault_tele, (struct monst *));
|
||||
|
||||
/*
|
||||
* Is (x,y) a good position of mtmp? If mtmp is NULL, then is (x,y) good
|
||||
@@ -220,7 +220,7 @@ unsigned entflags;
|
||||
* need to be augmented to allow deliberate passage in wizard mode, but
|
||||
* only for explicitly chosen destinations.)
|
||||
*/
|
||||
STATIC_OVL boolean
|
||||
static boolean
|
||||
tele_jump_ok(x1, y1, x2, y2)
|
||||
int x1, y1, x2, y2;
|
||||
{
|
||||
@@ -255,7 +255,7 @@ int x1, y1, x2, y2;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
STATIC_OVL boolean
|
||||
static boolean
|
||||
teleok(x, y, trapok)
|
||||
register int x, y;
|
||||
boolean trapok;
|
||||
@@ -417,7 +417,7 @@ boolean allow_drag;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
STATIC_OVL void
|
||||
static void
|
||||
vault_tele()
|
||||
{
|
||||
register struct mkroom *croom = search_special(VAULT);
|
||||
@@ -1098,7 +1098,7 @@ unsigned trflags;
|
||||
}
|
||||
|
||||
/* check whether monster can arrive at location <x,y> via Tport (or fall) */
|
||||
STATIC_OVL boolean
|
||||
static boolean
|
||||
rloc_pos_ok(x, y, mtmp)
|
||||
register int x, y; /* coordinates of candidate location */
|
||||
struct monst *mtmp;
|
||||
@@ -1262,7 +1262,7 @@ boolean suppress_impossible;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
STATIC_OVL void
|
||||
static void
|
||||
mvault_tele(mtmp)
|
||||
struct monst *mtmp;
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user