summaryrefslogtreecommitdiffstats
path: root/games/hack/hack.h
AgeCommit message (Collapse)AuthorFilesLines
2016-01-09This diff is rather large, but it's just simply removing unnecessary headersmestre1-13/+14
, remove some lint-style comments, add missing void to functions without args, also some function prototypes (extern) were missing their args, so I added them as they were defined in hack.h OK tb@ on separate diffs
2015-12-26Set as __dead a few more functions, that don't return, on games/mestre1-3/+3
With precious tip, help and also OK from tb@
2015-09-27Annotate funcs with __attribute__((printf(...))) and clean up the fallout:guenther1-5/+7
* lots of foo(str) --> foo("%s", str) transformations * one totally insane foo(fmt, ap) --> vfoo(fmt, ap) conversion: how did this ever work? * prefer const char[] over char* for static format strings, as it lets gcc check the format and eliminates an unnecessary pointer ok beck@
2014-03-11Match bwrite()'s prototype with write()'s, zapping a lint commentguenther1-2/+2
Delete casts to char* of arguments to bwrite() and free()
2006-03-14delete lint balony from another era; adobriyan@gmail, ok teduderaadt1-2/+2
2003-05-19De-register, ANSIfy, clean up.pjanzen1-7/+537
2003-05-07Major strings rework. Ok pjanzen@tdeval1-2/+2
2003-03-16hack is freecamield1-3/+59
Thanks to Andries Brouwer, Jay Fenlason and the folks at CWI for their efforts. http://www.cwi.nl/~aeb/games/hack/hack.html ok deraadt@
2001-08-06Nothing but comments after #endif and #else; heko@iki.fipjanzen1-3/+3
2001-01-28$OpenBSD$niklas1-0/+2
1999-08-16use O_* defines for open(2) flags and include fcntl.hmillert1-0/+1
1997-01-17more r?index -> strr?chr changesmillert1-5/+0
1995-10-18initial import of NetBSD treederaadt1-0/+163