summaryrefslogtreecommitdiffstats
path: root/games/hack/hack.options.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* This diff is rather large, but it's just simply removing unnecessary headersmestre2016-01-091-4/+4
| | | | | | | | , 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
* Cast isdigit()'s argument to unsigned char.mmcc2015-10-241-3/+3
| | | | ok guenther@
* Annotate funcs with __attribute__((printf(...))) and clean up the fallout:guenther2015-09-271-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@
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-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
* convert a bunch of strn{cpy,cat}->strl{cpy,cat}avsm2003-07-061-4/+3
| | | | pjanzen@ ok
* De-register, ANSIfy, clean up.pjanzen2003-05-191-18/+23
|
* 2451 lines of strdup/sprintf/strcpy whacking. mostly ok'd by pjanzenderaadt2003-04-061-12/+13
| | | | already, but he may have later changes to make still.
* hack is freecamield2003-03-161-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@
* $OpenBSD$niklas2001-01-281-1/+3
|
* r?index -> strr?chrmillert1997-01-171-4/+4
|
* prefer $LOGNAME over $USER. fix strncpy() usage.millert1996-10-261-0/+1
|
* initial import of NetBSD treederaadt1995-10-181-0/+208