summaryrefslogtreecommitdiffstats
path: root/phantasia/misc.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/misc.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/misc.c')
-rw-r--r--phantasia/misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/phantasia/misc.c b/phantasia/misc.c
index cf869ec7..d3f72b9d 100644
--- a/phantasia/misc.c
+++ b/phantasia/misc.c
@@ -1,4 +1,4 @@
-/* $NetBSD: misc.c,v 1.13 2005/02/15 12:56:20 jsm Exp $ */
+/* $NetBSD: misc.c,v 1.14 2005/02/15 12:58:21 jsm Exp $ */
/*
* misc.c Phantasia miscellaneous support routines
@@ -65,7 +65,7 @@ movelevel()
const char *
descrlocation(playerp, shortflag)
struct player *playerp;
- bool shortflag;
+ phbool shortflag;
{
double circle; /* corresponding circle for coordinates */
int quadrant; /* quandrant of grid */
@@ -447,7 +447,7 @@ allstatslist()
const char *
descrtype(playerp, shortflag)
struct player *playerp;
- bool shortflag;
+ phbool shortflag;
{
int type; /* for caluculating result subscript */
static const char *const results[] =/* description table */