]> granicus.if.org Git - nethack/commitdiff
finish_map prototype
authornethack.rankin <nethack.rankin>
Sat, 10 Feb 2007 04:18:52 +0000 (04:18 +0000)
committernethack.rankin <nethack.rankin>
Sat, 10 Feb 2007 04:18:52 +0000 (04:18 +0000)
     There's a newsgroup posting about building for Windows using minGW
(gcc) within the cygwin Unix emulation environment, and it includes diffs
for the changes used.  One of the items being patched is a straight source
bug triggered by altering the definition of `boolean'.  finish_map()'s
prototype doesn't match its definition (uses boolean args but has XCHAR_P
in the prototype).

src/mkmap.c

index 35cf4c9a6b55fa68a87e972b41915ac14d14c393..5854d5a002d4eb0e48215eaced57daddedb095f4 100644 (file)
@@ -1,4 +1,4 @@
-/*     SCCS Id: @(#)mkmap.c    3.5     1996/05/23      */
+/*     SCCS Id: @(#)mkmap.c    3.5     2007/02/09      */
 /* Copyright (c) J. C. Collet, M. Stephenson and D. Cohrs, 1992   */
 /* NetHack may be freely redistributed.  See license for details. */
 
@@ -16,7 +16,7 @@ STATIC_DCL void FDECL(pass_two,(SCHAR_P,SCHAR_P));
 STATIC_DCL void FDECL(pass_three,(SCHAR_P,SCHAR_P));
 STATIC_DCL void NDECL(wallify_map);
 STATIC_DCL void FDECL(join_map,(SCHAR_P,SCHAR_P));
-STATIC_DCL void FDECL(finish_map,(SCHAR_P,SCHAR_P,XCHAR_P,XCHAR_P));
+STATIC_DCL void FDECL(finish_map,(SCHAR_P,SCHAR_P,BOOLEAN,BOOLEAN_P));
 STATIC_DCL void FDECL(remove_room,(unsigned));
 void FDECL(mkmap, (lev_init *));