From 334fd76ab4d8c9f416b536d7565c733f95755c11 Mon Sep 17 00:00:00 2001 From: nhmall Date: Fri, 7 Oct 2022 11:15:10 -0400 Subject: [PATCH] mstrength prototype and preprocessor --- include/extern.h | 2 +- src/mdlib.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/extern.h b/include/extern.h index e703501d2..2c96fc639 100644 --- a/include/extern.h +++ b/include/extern.h @@ -1312,7 +1312,7 @@ extern void release_runtime_info(void); #ifdef ENHANCED_SYMBOLS extern void dump_glyphids(void); #endif -#if (NH_DEVEL_STATUS != NH_STATUS_RELEASED) || defined(DEBUG) || defined(MAKEDEFS_C) +#if (NH_DEVEL_STATUS != NH_STATUS_RELEASED) || defined(DEBUG) extern int mstrength(struct permonst *); #endif diff --git a/src/mdlib.c b/src/mdlib.c index cd7f18fd0..7f6eb299e 100644 --- a/src/mdlib.c +++ b/src/mdlib.c @@ -61,6 +61,8 @@ int case_insensitive_comp(const char *, const char *); static void make_version(void); static char *eos(char *); +int mstrength(struct permonst *); + #if 0 static char *mdlib_strsubst(char *, const char *, const char *); #endif