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

@@ -31,7 +31,7 @@ static const char *artifact_names[] = {
#define STUN(a,b) {0,AD_STUN,a,b} /* magical attack */
/* clang-format on */
STATIC_OVL NEARDATA struct artifact artilist[] = {
static NEARDATA struct artifact artilist[] = {
#endif /* MAKEDEFS_C */
/* Artifact cost rationale:

View File

@@ -541,27 +541,6 @@ enum bodypart_types {
#define getlogin() ((char *) 0)
#endif /* MICRO */
#if defined(OVERLAY)
#define USE_OVLx
#define STATIC_DCL extern
#define STATIC_OVL
#define STATIC_VAR
#else /* !OVERLAY */
#define STATIC_DCL static
#define STATIC_OVL static
#define STATIC_VAR static
#endif /* OVERLAY */
/* Macro for a few items that are only static if we're not overlaid.... */
#if defined(USE_TRAMPOLI) || defined(USE_OVLx)
#define STATIC_PTR
#else
#define STATIC_PTR static
#endif
/* The function argument to qsort() requires a particular
* calling convention under WINCE which is not the default
* in that environment.