diff options
author | jsm <jsm@NetBSD.org> | 2005-02-15 12:58:21 +0000 |
---|---|---|
committer | jsm <jsm@NetBSD.org> | 2005-02-15 12:58:21 +0000 |
commit | 1b851fffc66f91fd3d393e70e0f9ee528005a5d6 (patch) | |
tree | 9037548f9273c2caede7bb7751c6b88bc34e1b50 /phantasia/gamesupport.c | |
parent | 38363f564a3551b2bbad6b3c7c4426e7faace013 (diff) | |
download | bsdgames-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/gamesupport.c')
-rw-r--r-- | phantasia/gamesupport.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phantasia/gamesupport.c b/phantasia/gamesupport.c index 97dd1cce..2bfc67f6 100644 --- a/phantasia/gamesupport.c +++ b/phantasia/gamesupport.c @@ -1,4 +1,4 @@ -/* $NetBSD: gamesupport.c,v 1.8 2004/04/11 13:35:06 he Exp $ */ +/* $NetBSD: gamesupport.c,v 1.9 2005/02/15 12:58:21 jsm Exp $ */ /* * gamesupport.c - auxiliary routines for support of Phantasia @@ -10,7 +10,7 @@ void changestats(ingameflag) - bool ingameflag; + phbool ingameflag; { static char flag[2] = /* for printing values of bools */ {'F', 'T'}; @@ -22,7 +22,7 @@ changestats(ingameflag) long loc; /* location in player file */ time_t now; /* time now */ double dtemp; /* temporary variable */ - bool *bptr; /* pointer to bool item to change */ + phbool *bptr; /* pointer to bool item to change */ double *dptr; /* pointer to double item to change */ short *sptr; /* pointer to short item to change */ |