summaryrefslogtreecommitdiffstats
path: root/games/hack/hack.potion.c
AgeCommit message (Collapse)AuthorFilesLines
2016-01-09This diff is rather large, but it's just simply removing unnecessary headersmestre1-6/+7
, 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-09-27Annotate funcs with __attribute__((printf(...))) and clean up the fallout:guenther1-2/+2
* 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@
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-5/+1
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2003-05-19De-register, ANSIfy, clean up.pjanzen1-24/+27
2003-03-16hack is freecamield1-3/+60
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-01-28$OpenBSD$niklas1-1/+3
1995-10-18initial import of NetBSD treederaadt1-0/+391