summaryrefslogtreecommitdiffstats
path: root/games/hack/hack.bones.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-4/+4
| | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
* This diff is rather large, but it's just simply removing unnecessary headersmestre2016-01-091-3/+5
| | | | | | | | , 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
* creat() -> open equiv; from Frederic Nowakderaadt2015-11-111-2/+2
|
* 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
* De-register, ANSIfy, clean up.pjanzen2003-05-191-11/+16
|
* Major strings rework. Ok pjanzen@tdeval2003-05-071-3/+3
|
* 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@
* Nothing but comments after #endif and #else; heko@iki.fipjanzen2001-08-061-3/+3
|
* $OpenBSD$niklas2001-01-281-1/+3
|
* use O_* defines for open(2) flags and include fcntl.hmillert1999-08-161-2/+2
|
* initial import of NetBSD treederaadt1995-10-181-0/+100