From: nhmall Date: Fri, 7 Oct 2022 15:15:10 +0000 (-0400) Subject: mstrength prototype and preprocessor X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=334fd76ab4d8c9f416b536d7565c733f95755c11;p=nethack mstrength prototype and preprocessor --- 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