From 1b851fffc66f91fd3d393e70e0f9ee528005a5d6 Mon Sep 17 00:00:00 2001 From: jsm Date: Tue, 15 Feb 2005 12:58:21 +0000 Subject: Don't presume phantasia's internal bool (char) is the same as that in curses.h: define phbool and use it where necessary to avoid declaring functions with one bool and defining them with the other. Reviewed by . --- phantasia/io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phantasia/io.c') diff --git a/phantasia/io.c b/phantasia/io.c index 8caf069b..66f23637 100644 --- a/phantasia/io.c +++ b/phantasia/io.c @@ -1,4 +1,4 @@ -/* $NetBSD: io.c,v 1.8 2004/04/11 13:35:06 he Exp $ */ +/* $NetBSD: io.c,v 1.9 2005/02/15 12:58:21 jsm Exp $ */ /* * io.c - input/output routines for Phantasia @@ -156,7 +156,7 @@ interrupt() int getanswer(choices, def) const char *choices; - bool def; + phbool def; { int ch; /* input */ volatile int loop; /* counter */ -- cgit v1.2.3-56-ge451