remove STATIC_DCL, STATIC_OVL, STATIC_VAR, STATIC_PTR from core

This commit is contained in:
nhmall
2019-07-14 17:24:58 -04:00
parent e3b5e7f95a
commit 0d34f43830
96 changed files with 2339 additions and 2370 deletions

View File

@@ -5,10 +5,10 @@
#include "hack.h"
STATIC_DCL void FDECL(m_lose_armor, (struct monst *, struct obj *));
STATIC_DCL void FDECL(m_dowear_type,
static void FDECL(m_lose_armor, (struct monst *, struct obj *));
static void FDECL(m_dowear_type,
(struct monst *, long, BOOLEAN_P, BOOLEAN_P));
STATIC_DCL int FDECL(extra_pref, (struct monst *, struct obj *));
static int FDECL(extra_pref, (struct monst *, struct obj *));
const struct worn {
long w_mask;
@@ -505,7 +505,7 @@ boolean creation;
m_dowear_type(mon, W_ARM, creation, RACE_EXCEPTION);
}
STATIC_OVL void
static void
m_dowear_type(mon, flag, creation, racialexception)
struct monst *mon;
long flag;
@@ -685,7 +685,7 @@ long flag;
}
/* remove an item of armor and then drop it */
STATIC_OVL void
static void
m_lose_armor(mon, obj)
struct monst *mon;
struct obj *obj;
@@ -987,7 +987,7 @@ boolean polyspot;
}
/* bias a monster's preferences towards armor that has special benefits. */
STATIC_OVL int
static int
extra_pref(mon, obj)
struct monst *mon;
struct obj *obj;