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

@@ -7,18 +7,18 @@
#include "hack.h"
STATIC_DCL int FDECL(throw_obj, (struct obj *, int));
STATIC_DCL boolean FDECL(ok_to_throw, (int *));
STATIC_DCL void NDECL(autoquiver);
STATIC_DCL int FDECL(gem_accept, (struct monst *, struct obj *));
STATIC_DCL void FDECL(tmiss, (struct obj *, struct monst *, BOOLEAN_P));
STATIC_DCL int FDECL(throw_gold, (struct obj *));
STATIC_DCL void FDECL(check_shop_obj, (struct obj *, XCHAR_P, XCHAR_P,
static int FDECL(throw_obj, (struct obj *, int));
static boolean FDECL(ok_to_throw, (int *));
static void NDECL(autoquiver);
static int FDECL(gem_accept, (struct monst *, struct obj *));
static void FDECL(tmiss, (struct obj *, struct monst *, BOOLEAN_P));
static int FDECL(throw_gold, (struct obj *));
static void FDECL(check_shop_obj, (struct obj *, XCHAR_P, XCHAR_P,
BOOLEAN_P));
STATIC_DCL void FDECL(breakmsg, (struct obj *, BOOLEAN_P));
STATIC_DCL boolean FDECL(toss_up, (struct obj *, BOOLEAN_P));
STATIC_DCL void FDECL(sho_obj_return_to_u, (struct obj * obj));
STATIC_DCL boolean FDECL(mhurtle_step, (genericptr_t, int, int));
static void FDECL(breakmsg, (struct obj *, BOOLEAN_P));
static boolean FDECL(toss_up, (struct obj *, BOOLEAN_P));
static void FDECL(sho_obj_return_to_u, (struct obj * obj));
static boolean FDECL(mhurtle_step, (genericptr_t, int, int));
static NEARDATA const char toss_objs[] = { ALLOW_COUNT, COIN_CLASS,
ALL_CLASSES, WEAPON_CLASS, 0 };
@@ -29,7 +29,7 @@ static NEARDATA const char bullets[] = { ALLOW_COUNT, COIN_CLASS, ALL_CLASSES,
/* g.thrownobj (decl.c) tracks an object until it lands */
/* Throw the selected object, asking for direction */
STATIC_OVL int
static int
throw_obj(obj, shotlimit)
struct obj *obj;
int shotlimit;
@@ -232,7 +232,7 @@ int shotlimit;
}
/* common to dothrow() and dofire() */
STATIC_OVL boolean
static boolean
ok_to_throw(shotlimit_p)
int *shotlimit_p; /* (see dothrow()) */
{
@@ -767,7 +767,7 @@ int x, y;
return TRUE;
}
STATIC_OVL boolean
static boolean
mhurtle_step(arg, x, y)
genericptr_t arg;
int x, y;
@@ -888,7 +888,7 @@ int dx, dy, range;
return;
}
STATIC_OVL void
static void
check_shop_obj(obj, x, y, broken)
struct obj *obj;
xchar x, y;
@@ -927,7 +927,7 @@ boolean broken;
*
* Returns FALSE if the object is gone.
*/
STATIC_OVL boolean
static boolean
toss_up(obj, hitsroof)
struct obj *obj;
boolean hitsroof;
@@ -1069,7 +1069,7 @@ struct obj *obj;
}
/* the currently thrown object is returning to you (not for boomerangs) */
STATIC_OVL void
static void
sho_obj_return_to_u(obj)
struct obj *obj;
{
@@ -1475,7 +1475,7 @@ boolean mon_notices;
}
/* thrown object misses target monster */
STATIC_OVL void
static void
tmiss(obj, mon, maybe_wakeup)
struct obj *obj;
struct monst *mon;
@@ -1786,7 +1786,7 @@ register struct obj *obj; /* g.thrownobj or g.kickedobj or uwep */
return 0;
}
STATIC_OVL int
static int
gem_accept(mon, obj)
register struct monst *mon;
register struct obj *obj;
@@ -2061,7 +2061,7 @@ struct obj *obj;
}
}
STATIC_OVL void
static void
breakmsg(obj, in_view)
struct obj *obj;
boolean in_view;
@@ -2103,7 +2103,7 @@ boolean in_view;
}
}
STATIC_OVL int
static int
throw_gold(obj)
struct obj *obj;
{