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
+23 -23
View File
@@ -6,23 +6,23 @@
#include "hack.h"
#include "artifact.h"
STATIC_VAR NEARDATA struct obj *mon_currwep = (struct obj *) 0;
static NEARDATA struct obj *mon_currwep = (struct obj *) 0;
STATIC_DCL boolean FDECL(u_slip_free, (struct monst *, struct attack *));
STATIC_DCL int FDECL(passiveum, (struct permonst *, struct monst *,
static boolean FDECL(u_slip_free, (struct monst *, struct attack *));
static int FDECL(passiveum, (struct permonst *, struct monst *,
struct attack *));
STATIC_DCL void FDECL(mayberem, (struct monst *, const char *,
static void FDECL(mayberem, (struct monst *, const char *,
struct obj *, const char *));
STATIC_DCL boolean FDECL(diseasemu, (struct permonst *));
STATIC_DCL int FDECL(hitmu, (struct monst *, struct attack *));
STATIC_DCL int FDECL(gulpmu, (struct monst *, struct attack *));
STATIC_DCL int FDECL(explmu, (struct monst *, struct attack *, BOOLEAN_P));
STATIC_DCL void FDECL(missmu, (struct monst *, BOOLEAN_P, struct attack *));
STATIC_DCL void FDECL(mswings, (struct monst *, struct obj *));
STATIC_DCL void FDECL(wildmiss, (struct monst *, struct attack *));
STATIC_DCL void FDECL(hitmsg, (struct monst *, struct attack *));
static boolean FDECL(diseasemu, (struct permonst *));
static int FDECL(hitmu, (struct monst *, struct attack *));
static int FDECL(gulpmu, (struct monst *, struct attack *));
static int FDECL(explmu, (struct monst *, struct attack *, BOOLEAN_P));
static void FDECL(missmu, (struct monst *, BOOLEAN_P, struct attack *));
static void FDECL(mswings, (struct monst *, struct obj *));
static void FDECL(wildmiss, (struct monst *, struct attack *));
static void FDECL(hitmsg, (struct monst *, struct attack *));
STATIC_OVL void
static void
hitmsg(mtmp, mattk)
struct monst *mtmp;
struct attack *mattk;
@@ -73,7 +73,7 @@ struct attack *mattk;
}
/* monster missed you */
STATIC_OVL void
static void
missmu(mtmp, nearmiss, mattk)
struct monst *mtmp;
boolean nearmiss;
@@ -92,7 +92,7 @@ struct attack *mattk;
}
/* monster swings obj */
STATIC_OVL void
static void
mswings(mtmp, otemp)
struct monst *mtmp;
struct obj *otemp;
@@ -135,7 +135,7 @@ u_slow_down()
}
/* monster attacked your displaced image */
STATIC_OVL void
static void
wildmiss(mtmp, mattk)
struct monst *mtmp;
struct attack *mattk;
@@ -809,7 +809,7 @@ register struct monst *mtmp;
return 0;
}
STATIC_OVL boolean
static boolean
diseasemu(mdat)
struct permonst *mdat;
{
@@ -824,7 +824,7 @@ struct permonst *mdat;
}
/* check whether slippery clothing protects from hug or wrap attack */
STATIC_OVL boolean
static boolean
u_slip_free(mtmp, mattk)
struct monst *mtmp;
struct attack *mattk;
@@ -913,7 +913,7 @@ struct monst *mon;
* 3 if the monster lives but teleported/paralyzed, so it can't keep
* attacking you
*/
STATIC_OVL int
static int
hitmu(mtmp, mattk)
register struct monst *mtmp;
register struct attack *mattk;
@@ -1772,7 +1772,7 @@ gulp_blnd_check()
}
/* monster swallows you, or damage if u.uswallow */
STATIC_OVL int
static int
gulpmu(mtmp, mattk)
struct monst *mtmp;
struct attack *mattk;
@@ -2023,7 +2023,7 @@ struct attack *mattk;
}
/* monster explodes in your face */
STATIC_OVL int
static int
explmu(mtmp, mattk, ufound)
struct monst *mtmp;
struct attack *mattk;
@@ -2713,7 +2713,7 @@ struct monst *mon;
return 1;
}
STATIC_OVL void
static void
mayberem(mon, seducer, obj, str)
struct monst *mon;
const char *seducer; /* only used for alternate message */
@@ -2766,7 +2766,7 @@ const char *str;
* to know whether hero reverted in order to decide whether passive
* damage applies.
*/
STATIC_OVL int
static int
passiveum(olduasmon, mtmp, mattk)
struct permonst *olduasmon;
struct monst *mtmp;