dholland
c074bb6654
Make this build with WARNS=4 by not reusing names from <math.h>.
2008-01-28 06:20:15 +00:00
jsm
58b3287ba1
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>.
2005-02-15 12:58:21 +00:00
jsm
b91a81ab9f
Cast last argument of execl to (char *).
...
Reviewed by <hubertf>.
2005-02-15 12:56:20 +00:00
he
9b1375ac78
Undef bool before including <curses.h>, since it tries to typedef
...
bool. Otherwise we get (at least on gcc 2.95.3) an empty declaration
warning from "typedef char char;" due to the #define of bool in
phantstruct.h.
2004-04-11 13:35:06 +00:00
ross
9209ce5ad8
Rework to use curses.h only on the target, not on the host.
2004-04-07 17:46:47 +00:00
jsm
50134cf26f
When cleaning up, only close files that have been opened successfully.
...
When reporting errors for failing to open files, give error text
rather than errno number. Patch from Joey Hess <joey@kitenet.net> for
Debian bug 187251 from Mikael Hedin <micce@debian.org>.
2004-01-01 16:03:46 +00:00
wiz
73a79751ed
de-__P().
2003-05-08 13:03:49 +00:00
simonb
276fd1665c
The Double-Semi-Colon Police.
2003-01-20 05:29:53 +00:00
jdc
d6d7f0531f
Fix arguments to *printw().
2000-04-27 00:30:51 +00:00
jsm
5fb18dd9da
Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate in
...
the games.
1999-09-08 21:57:16 +00:00
jsm
092d313019
Add use of `const' where appropriate to the games.
...
This merges in all such remaining changes from the Linux port of the
NetBSD games, except in hunt (where substantial changes from OpenBSD
need to be looked at).
Some such changes were previously covered in PRs bin/6041, bin/6146,
bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994,
bin/8039, bin/8057 and bin/8093.
1999-09-08 21:17:44 +00:00
veego
04afeca685
Add braces to make the new egcs happy.
1998-08-30 09:19:36 +00:00
lukem
a232aee2bc
WARNSify, KNFify (inc. removing extremely verbose & useless comments), ...
1997-10-13 02:18:06 +00:00
cgd
dcfebd78e8
rcs id conventions
1995-03-24 03:58:08 +00:00
jtc
86a62b8dfd
phantasia(6), from 44lite
1994-10-21 21:19:39 +00:00