]> granicus.if.org Git - nethack/commitdiff
mstrength prototype and preprocessor
authornhmall <nhmall@nethack.org>
Fri, 7 Oct 2022 15:15:10 +0000 (11:15 -0400)
committernhmall <nhmall@nethack.org>
Fri, 7 Oct 2022 15:15:10 +0000 (11:15 -0400)
include/extern.h
src/mdlib.c

index e703501d2f94dae952249b12d2302d7bb1a7e39b..2c96fc639feeae9c12745989f6cd057a1ece42c5 100644 (file)
@@ -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
 
index cd7f18fd0c872514e308980e06de9a8eb020652c..7f6eb299ebef46d47c402f2e4e035d1c8b5190ed 100644 (file)
@@ -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