]> granicus.if.org Git - nethack/commitdiff
be consistent in preprocessor conditional
authornhmall <nhmall@nethack.org>
Fri, 7 Oct 2022 14:30:36 +0000 (10:30 -0400)
committernhmall <nhmall@nethack.org>
Fri, 7 Oct 2022 14:30:36 +0000 (10:30 -0400)
src/mon.c

index 6e5f359e612abc571d97ad34d29a89bee9adafb4..dfecac30ec15b1997bef8999a34ca56ed1240aac 100644 (file)
--- a/src/mon.c
+++ b/src/mon.c
@@ -30,7 +30,7 @@ static struct permonst *accept_newcham_form(struct monst *, int);
 static void kill_eggs(struct obj *);
 static void pacify_guard(struct monst *);
 
-#ifdef DEBUG
+#if (NH_DEVEL_STATUS != NH_STATUS_RELEASED) || defined(DEBUG)
 int mstrength(struct permonst *ptr);
 #endif