remove STATIC_DCL, STATIC_OVL, STATIC_VAR, STATIC_PTR from core
This commit is contained in:
12
src/worn.c
12
src/worn.c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user