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

@@ -21,15 +21,15 @@
#include "hack.h"
STATIC_DCL void FDECL(check_strangling, (BOOLEAN_P));
STATIC_DCL void FDECL(polyman, (const char *, const char *));
STATIC_DCL void NDECL(break_armor);
STATIC_DCL void FDECL(drop_weapon, (int));
STATIC_DCL int FDECL(armor_to_dragon, (int));
STATIC_DCL void NDECL(newman);
STATIC_DCL void NDECL(polysense);
static void FDECL(check_strangling, (BOOLEAN_P));
static void FDECL(polyman, (const char *, const char *));
static void NDECL(break_armor);
static void FDECL(drop_weapon, (int));
static int FDECL(armor_to_dragon, (int));
static void NDECL(newman);
static void NDECL(polysense);
STATIC_VAR const char no_longer_petrify_resistant[] =
static const char no_longer_petrify_resistant[] =
"No longer petrify-resistant, you";
/* update the g.youmonst.data structure pointer and intrinsics */
@@ -135,7 +135,7 @@ float_vs_flight()
}
/* for changing into form that's immune to strangulation */
STATIC_OVL void
static void
check_strangling(on)
boolean on;
{
@@ -164,7 +164,7 @@ boolean on;
}
/* make a (new) human out of the player */
STATIC_OVL void
static void
polyman(fmt, arg)
const char *fmt, *arg;
{
@@ -270,7 +270,7 @@ change_sex()
}
}
STATIC_OVL void
static void
newman()
{
int i, oldlvl, newlvl, hpmax, enmax;
@@ -876,7 +876,7 @@ int mntmp;
return 1;
}
STATIC_OVL void
static void
break_armor()
{
register struct obj *otmp;
@@ -989,7 +989,7 @@ break_armor()
}
}
STATIC_OVL void
static void
drop_weapon(alone)
int alone;
{
@@ -1799,7 +1799,7 @@ int damtype, dam;
}
}
STATIC_OVL int
static int
armor_to_dragon(atyp)
int atyp;
{