]> granicus.if.org Git - nethack/commitdiff
compilation bit
authorcohrs <cohrs>
Sun, 13 Apr 2003 04:09:32 +0000 (04:09 +0000)
committercohrs <cohrs>
Sun, 13 Apr 2003 04:09:32 +0000 (04:09 +0000)
quiet a new gcc warning

src/restore.c

index 023adc1c9b4c4b464b5aa03e796a77058458bc1d..aabcad5aac3c2e7f4c8ccb979eda46a64dce4417 100644 (file)
@@ -30,7 +30,9 @@ STATIC_DCL boolean FDECL(restgamestate, (int, unsigned int *, unsigned int *));
 STATIC_DCL void FDECL(restlevelstate, (unsigned int, unsigned int));
 STATIC_DCL int FDECL(restlevelfile, (int,XCHAR_P));
 STATIC_DCL void FDECL(reset_oattached_mids, (BOOLEAN_P));
+#ifndef GOLDOBJ
 STATIC_DCL struct obj *FDECL(gold_in, (struct obj *));
+#endif
 
 /*
  * Save a mapping of IDs from ghost levels to the current level.  This