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

@@ -8,11 +8,11 @@
#include "hack.h"
STATIC_DCL int NDECL(bc_order);
STATIC_DCL void NDECL(litter);
STATIC_OVL void NDECL(placebc_core);
STATIC_OVL void NDECL(unplacebc_core);
STATIC_DCL boolean FDECL(check_restriction, (int));
static int NDECL(bc_order);
static void NDECL(litter);
static void NDECL(placebc_core);
static void NDECL(unplacebc_core);
static boolean FDECL(check_restriction, (int));
static int bcrestriction = 0;
#ifdef BREADCRUMBS
@@ -114,7 +114,7 @@ ballfall()
*
* Should not be called while swallowed except on waterlevel.
*/
STATIC_OVL void
static void
placebc_core()
{
if (!uchain || !uball) {
@@ -141,7 +141,7 @@ placebc_core()
bcrestriction = 0;
}
STATIC_OVL void
static void
unplacebc_core()
{
if (u.uswallow) {
@@ -173,7 +173,7 @@ unplacebc_core()
u.bc_felt = 0; /* feel nothing */
}
STATIC_OVL boolean
static boolean
check_restriction(restriction)
int restriction;
{
@@ -362,7 +362,7 @@ int linenum;
* Return the stacking of the hero's ball & chain. This assumes that the
* hero is being punished.
*/
STATIC_OVL int
static int
bc_order()
{
struct obj *obj;
@@ -977,7 +977,7 @@ xchar x, y;
}
/* ball&chain cause hero to randomly lose stuff from inventory */
STATIC_OVL void
static void
litter()
{
struct obj *otmp, *nextobj = 0;