From: cohrs Date: Wed, 6 Feb 2002 01:53:54 +0000 (+0000) Subject: compilation bit X-Git-Tag: MOVE2GIT~3249 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3af5fa3e329a7482256dee9cd32d3a399b428805;p=nethack compilation bit prototype should come before actual declaration of give_may_advance_msg --- diff --git a/src/weapon.c b/src/weapon.c index a8902439b..500b0d1e2 100644 --- a/src/weapon.c +++ b/src/weapon.c @@ -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