]> granicus.if.org Git - nethack/commitdiff
compilation bit
authorcohrs <cohrs>
Wed, 6 Feb 2002 01:53:54 +0000 (01:53 +0000)
committercohrs <cohrs>
Wed, 6 Feb 2002 01:53:54 +0000 (01:53 +0000)
prototype should come before actual declaration of give_may_advance_msg

src/weapon.c

index a8902439ba605ecb4726bae17c8c75daf7c0e473..500b0d1e238ebb073bc0cca92e7d2dc58f50b251 100644 (file)
@@ -26,6 +26,8 @@
 #define PN_ESCAPE_SPELL                        (-13)
 #define PN_MATTER_SPELL                        (-14)
 
+STATIC_DCL void FDECL(give_may_advance_msg, (int));
+
 #ifndef OVLB
 
 STATIC_DCL NEARDATA const short skill_names_indices[];
@@ -94,7 +96,6 @@ int skill;
 
 STATIC_DCL boolean FDECL(can_advance, (int, BOOLEAN_P));
 STATIC_DCL int FDECL(slots_required, (int));
-STATIC_DCL void FDECL(give_may_advance_msg, (int));
 
 #ifdef OVL1