summaryrefslogtreecommitdiffstats
path: root/games/hack/hack.end.c
AgeCommit message (Collapse)AuthorFilesLines
2017-04-08snprintf() format string should be literalgsoares1-2/+2
avoid compiler silly warnings sure deraadt@
2016-01-09Remove several casts to (char *) 0 and replace them by NULLmestre1-2/+2
Prompted and OK by tb@
2016-01-09This diff is rather large, but it's just simply removing unnecessary headersmestre1-6/+6
, 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-16Use __progname instead of hand-rolled parsing of argv[0].tb1-3/+3
Inspired by similar diffs by tobias@ and millert@. "I like the concept" pjanzen@ ok tedu@
2015-10-24Cast ctype functions' arguments to unsigned char.mmcc1-3/+3
ok guenther@
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()
2009-12-10fix potential bugs spotted by parfaitbeck1-3/+3
ok millert@ pjanzen@
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-07-06convert a bunch of strn{cpy,cat}->strl{cpy,cat}avsm1-6/+4
pjanzen@ ok
2003-05-19De-register, ANSIfy, clean up.pjanzen1-75/+104
2003-05-07Major strings rework. Ok pjanzen@tdeval1-32/+56
2003-04-062451 lines of strdup/sprintf/strcpy whacking. mostly ok'd by pjanzenderaadt1-26/+25
already, but he may have later changes to make still.
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-08-06Nothing but comments after #endif and #else; heko@iki.fipjanzen1-15/+15
2001-01-28$OpenBSD$niklas1-1/+3
1997-01-17r?index -> strr?chrmillert1-5/+5
1995-10-18initial import of NetBSD treederaadt1-0/+647