summaryrefslogtreecommitdiff
path: root/games/hack/hack.invent.c
AgeCommit message (Collapse)Author
2016-01-09Remove several casts to (char *) 0 and replace them by NULLmestre
Prompted and OK by tb@
2016-01-09This diff is rather large, but it's just simply removing unnecessary headersmestre
, 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-10-24Cast isdigit()'s argument to unsigned char.mmcc
ok guenther@
2015-09-27Annotate funcs with __attribute__((printf(...))) and clean up the fallout:Philip Guenther
* 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 commentPhilip Guenther
Delete casts to char* of arguments to bwrite() and free()
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
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.Paul Janzen
2003-04-062451 lines of strdup/sprintf/strcpy whacking. mostly ok'd by pjanzenTheo de Raadt
already, but he may have later changes to make still.
2003-03-16hack is freeCamiel Dobbelaar
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.fiPaul Janzen
2001-01-28$OpenBSD$Niklas Hallqvist
2001-01-04comment grammarTodd T. Fries
1997-01-17r?index -> strr?chrTodd C. Miller
1995-10-18initial import of NetBSD treeTheo de Raadt