summaryrefslogtreecommitdiffstats
path: root/phantasia/io.c
diff options
context:
space:
mode:
authorjsm <jsm@NetBSD.org>2005-02-15 12:58:21 +0000
committerjsm <jsm@NetBSD.org>2005-02-15 12:58:21 +0000
commit1b851fffc66f91fd3d393e70e0f9ee528005a5d6 (patch)
tree9037548f9273c2caede7bb7751c6b88bc34e1b50 /phantasia/io.c
parent38363f564a3551b2bbad6b3c7c4426e7faace013 (diff)
downloadbsdgames-darwin-1b851fffc66f91fd3d393e70e0f9ee528005a5d6.tar.gz
bsdgames-darwin-1b851fffc66f91fd3d393e70e0f9ee528005a5d6.tar.zst
bsdgames-darwin-1b851fffc66f91fd3d393e70e0f9ee528005a5d6.zip
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 <hubertf>.
Diffstat (limited to 'phantasia/io.c')
-rw-r--r--phantasia/io.c4
1 files changed, 2 insertions, 2 deletions
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 */