From c937cc0091e859c70cdc1728cbe0b008087b17ff Mon Sep 17 00:00:00 2001 From: "nethack.rankin" Date: Sat, 10 Feb 2007 04:18:52 +0000 Subject: [PATCH] finish_map prototype 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mkmap.c b/src/mkmap.c index 35cf4c9a6..5854d5a00 100644 --- a/src/mkmap.c +++ b/src/mkmap.c @@ -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 *)); -- 2.40.0