summaryrefslogtreecommitdiffstats
path: root/phantasia/io.c
Commit message (Collapse)AuthorAgeFilesLines
* Dumping all system includes anything uses in one big header file is so 1986.dholland2009-08-311-3/+17
| | | | | XXX: Removing unused declarations (thus, unused headers can trigger XXX: it) sometimes causes gcc to generate substantially different XXX: code. Dunno why but it looks rather like a gcc bug.
* sprinkle staticdholland2009-08-121-2/+4
|
* ANSIfy function declarations. Object file diffs cross-checked.dholland2009-05-251-14/+8
|
* convert __attribute__s to applicable cdefs.h macrosperry2007-12-151-2/+2
|
* include sys/cdefs.h so that __attribute__ can be fixed laterperry2007-12-151-1/+2
|
* Don't presume phantasia's internal bool (char) is the same as that injsm2005-02-151-2/+2
| | | | | | 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>.
* Undef bool before including <curses.h>, since it tries to typedefhe2004-04-111-1/+2
| | | | | 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.
* Rework to use curses.h only on the target, not on the host.ross2004-04-071-1/+2
|
* Mark variables changed between setjmp and longjmp as volatile ratherjsm2004-02-081-6/+3
| | | than just taking their addresses.
* Add `__noreturn__' and `__unused__' attributes where appropriate tojsm1999-09-081-2/+2
| | | | | | | | | | | | 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). Most noreturn attributes were previously added in bin/6144, with some others that were missed then in bin/8082. Previous `unused' attributes were covered in bin/6557, bin/8058 and other PRs (all these PRs have already been handled and closed).
* Add use of `const' where appropriate to the games.jsm1999-09-081-2/+2
| | | | | | | | | 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.
* WARNSify, KNFify (inc. removing extremely verbose & useless comments), ...lukem1997-10-131-366/+175
|
* rcs id conventionscgd1995-03-241-0/+2
|
* phantasia(6), from 44litejtc1994-10-211-0/+436