summaryrefslogtreecommitdiffstats
path: root/adventure/init.c
Commit message (Collapse)AuthorAgeFilesLines
* games: remove trailing whitespace in *.c and *.hrillig2021-05-051-3/+3
|
* Get all the games compiling for iOSCameron Katri2021-02-221-1/+1
|
* tag decl() __noinline, as inlining it would defeat its purposedholland2014-03-221-3/+3
| | | | (which is to not have interesting string literals appear in the compiled binary)
* NULL does not need a castplunky2011-08-311-3/+3
|
* Whn ths cd ws wrttn, thr ws bt shrtg nd vwls wr xtrml xpnsv. Nowadays,dholland2009-08-251-36/+36
| | | | | however, we have an ample vowel budget, and bit shortages are a thing of the past (even in a down economy) so spend a bit to improve readability.
* sprinkle staticdholland2009-08-121-5/+8
|
* convert __attribute__s to applicable cdefs.h macrosperry2007-12-151-3/+3
|
* don't access out of bounds element of static alloc array.rtr2006-03-181-3/+3
| | | | | found by Coverity, CID 1519 / Run 5 XXX possible that intention was to start with i = 0.
* KNF and WARNS=3jmc2005-07-011-14/+12
|
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-071-7/+3
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* eliminate redundant declschristos2001-02-051-3/+3
|
* This patch fixes adventure(6) to use `extern' on declarations ofhubertf1999-07-281-2/+66
| | | | | | | | | | | objects in its header file, and to add corresponding definitions to init.c accordingly. (See the C standard - relying on linker commons where there are multiple uninitialised declarations of an object in the program traditionally works on Unix, but is not standard C.) The patch also removes a bit-rotten code fragment under #ifdef OLDSTUFF. Patch submitted in PR 8105 by Joseph Myers <jsm28@cam.ac.uk>
* Add __attribute__() to a variable. From PR 6557, after discussion withhubertf1999-02-101-3/+3
| | | Joseph S. Myers <jsm28@cam.ac.uk>
* Improved signal handling as per PR 6051 byhubertf1998-08-291-3/+3
| | | Joseph Myers <jsm@octomino.demon.co.uk>
* Kill unused parameters, per PR 6023 by Joseph Myers <jsm28@cam.ac.uk>.hubertf1998-08-241-5/+4
|
* change includes to fix compiler warningperry1998-02-031-2/+4
|
* KNFifylukem1997-10-111-132/+140
|
* deprecate register, fixup .Nm usagelukem1997-10-101-3/+3
|
* PR/3964: Eric Fischer: Remove dependencies to traditional cpp...christos1997-08-111-64/+73
| | | While I was there add WARNS?= too.
* oops, use <signal.h> not <sys/signal.h> (tholo@sigmasoft.com)mrg1996-05-211-3/+3
|
* give up setuid-ness. we don't need it. while i'm here, includemrg1996-05-211-3/+4
| | | <sys/signal.h> and use SIGINT rather than 2.
* clean up RCS idscgd1995-03-211-0/+6
|
* adventure(6), from 44litejtc1994-10-211-0/+216