remove STATIC_DCL, STATIC_OVL, STATIC_VAR, STATIC_PTR from core
This commit is contained in:
28
src/wizard.c
28
src/wizard.c
@@ -11,13 +11,13 @@
|
||||
#include "hack.h"
|
||||
#include "qtext.h"
|
||||
|
||||
STATIC_DCL short FDECL(which_arti, (int));
|
||||
STATIC_DCL boolean FDECL(mon_has_arti, (struct monst *, SHORT_P));
|
||||
STATIC_DCL struct monst *FDECL(other_mon_has_arti, (struct monst *, SHORT_P));
|
||||
STATIC_DCL struct obj *FDECL(on_ground, (SHORT_P));
|
||||
STATIC_DCL boolean FDECL(you_have, (int));
|
||||
STATIC_DCL unsigned long FDECL(target_on, (int, struct monst *));
|
||||
STATIC_DCL unsigned long FDECL(strategy, (struct monst *));
|
||||
static short FDECL(which_arti, (int));
|
||||
static boolean FDECL(mon_has_arti, (struct monst *, SHORT_P));
|
||||
static struct monst *FDECL(other_mon_has_arti, (struct monst *, SHORT_P));
|
||||
static struct obj *FDECL(on_ground, (SHORT_P));
|
||||
static boolean FDECL(you_have, (int));
|
||||
static unsigned long FDECL(target_on, (int, struct monst *));
|
||||
static unsigned long FDECL(strategy, (struct monst *));
|
||||
|
||||
/* adding more neutral creatures will tend to reduce the number of monsters
|
||||
summoned by nasty(); adding more lawful creatures will reduce the number
|
||||
@@ -140,7 +140,7 @@ register struct monst *mtmp;
|
||||
|
||||
#define M_Wants(mask) (mtmp->data->mflags3 & (mask))
|
||||
|
||||
STATIC_OVL short
|
||||
static short
|
||||
which_arti(mask)
|
||||
register int mask;
|
||||
{
|
||||
@@ -164,7 +164,7 @@ register int mask;
|
||||
* since bell, book, candle, and amulet are all objects, not really
|
||||
* artifacts right now. [MRS]
|
||||
*/
|
||||
STATIC_OVL boolean
|
||||
static boolean
|
||||
mon_has_arti(mtmp, otyp)
|
||||
register struct monst *mtmp;
|
||||
register short otyp;
|
||||
@@ -181,7 +181,7 @@ register short otyp;
|
||||
return 0;
|
||||
}
|
||||
|
||||
STATIC_OVL struct monst *
|
||||
static struct monst *
|
||||
other_mon_has_arti(mtmp, otyp)
|
||||
register struct monst *mtmp;
|
||||
register short otyp;
|
||||
@@ -197,7 +197,7 @@ register short otyp;
|
||||
return (struct monst *) 0;
|
||||
}
|
||||
|
||||
STATIC_OVL struct obj *
|
||||
static struct obj *
|
||||
on_ground(otyp)
|
||||
register short otyp;
|
||||
{
|
||||
@@ -212,7 +212,7 @@ register short otyp;
|
||||
return (struct obj *) 0;
|
||||
}
|
||||
|
||||
STATIC_OVL boolean
|
||||
static boolean
|
||||
you_have(mask)
|
||||
register int mask;
|
||||
{
|
||||
@@ -233,7 +233,7 @@ register int mask;
|
||||
return 0;
|
||||
}
|
||||
|
||||
STATIC_OVL unsigned long
|
||||
static unsigned long
|
||||
target_on(mask, mtmp)
|
||||
register int mask;
|
||||
register struct monst *mtmp;
|
||||
@@ -261,7 +261,7 @@ register struct monst *mtmp;
|
||||
return (unsigned long) STRAT_NONE;
|
||||
}
|
||||
|
||||
STATIC_OVL unsigned long
|
||||
static unsigned long
|
||||
strategy(mtmp)
|
||||
register struct monst *mtmp;
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user