summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use standard C: 'unsigned', not 'u_int'dholland2009-08-271-6/+6
|
* remove unnecessary castdholland2009-08-271-3/+3
|
* remove unnecessary castsdholland2009-08-271-3/+3
|
* remove unnecessary castdholland2009-08-271-3/+3
|
* Use __dead.dholland2009-08-251-3/+3
|
* Whn ths cd ws wrttn, thr ws bt shrtg nd vwls wr xtrml xpnsv. Nowadays,dholland2009-08-2510-195/+196
| | | | | however, we have an ample vowel budget, and bit shortages are a thing of the past (even in a down economy) so spend a bit to improve readability.
* ANSIfy a leftover function.dholland2009-08-251-3/+9
| | | | Also note some unportable code with a comment. Can't change it because it'd break save files, though.
* sprinkle staticdholland2009-08-1220-155/+158
|
* sprinkle staticdholland2009-08-1219-209/+217
|
* sprinkle staticdholland2009-08-1217-140/+143
|
* sprinkle staticdholland2009-08-1221-228/+234
|
* sprinkle static and prune some dead codedholland2009-08-128-87/+74
|
* sprinkle staticdholland2009-08-1249-400/+443
|
* sprinkle staticdholland2009-08-126-67/+80
|
* sprinkle staticdholland2009-08-122-107/+106
|
* sprinkle staticdholland2009-08-129-140/+149
|
* sprinkle staticdholland2009-08-124-152/+152
|
* sprinkle static and prune some dead codedholland2009-08-124-46/+39
|
* sprinkle staticdholland2009-08-1220-133/+149
|
* looks as if "ospeed" here was meant to be extern.dholland2009-08-121-3/+3
|
* sprinkle staticdholland2009-08-128-113/+112
|
* sprinkle staticdholland2009-08-1210-104/+102
|
* Don't use a FILE * after fclose(). PR 41832 from Henning Petersen.dholland2009-08-061-3/+3
|
* don't use char values for functions that can return -1; chars are not alwayschristos2009-08-051-4/+3
| | | signed.
* Use getopt instead of hand-rolled options code. Document all the argumentsdholland2009-08-052-76/+87
| | | | | and options. Don't allow the previously undocumented method to change the maximum number of scores kept per user to be used on the system-wide high score file. Sort options list in the man page. Bump its date.
* don't ignore errors from read(); found by lintdholland2009-08-031-5/+4
|
* Remove the need for -Wno-pointer-sign. Object file unchanged.dholland2009-07-262-9/+5
|
* Remove the need for -Wno-pointer-sign. Object diffs checked.dholland2009-07-262-12/+8
|
* Use random() instead of rand(), and seed with time instead of pid.dholland2009-07-202-6/+7
|
* Assorted minor cleanups, no functional change:dholland2009-07-2013-112/+137
| | | | | | | | | | - u_int* -> uint* - don't make private typedefs of system structures - use curses TRUE and FALSE only with curses booleans, otherwise true and false; - includes cleanup - group globals in extern.c by functionality Object file diffs inspected.
* A bit more whitespace.dholland2009-07-202-7/+7
|
* Whitespace.dholland2009-07-2013-231/+231
|
* ANSIfy. Use __dead. Object diffs checked.dholland2009-07-2012-98/+69
|
* ANSIfy. Also, we now have RANDOM_MAX; use it. Object diffs checked...dholland2009-07-201-12/+7
|
* Rename internal getline() function to get_line() so it doesroy2009-07-139-34/+34
| | | conflict with the soon to be added getline(3) libc function.
* Remove config options for 4.2BSD and 4.3BSD, and associated code. Highlydholland2009-07-046-109/+20
| | | obsolete, and I doubt most of it still worked anyway.
* Remove the non-curses screen handling, since it relies on knowingdholland2009-07-045-346/+14
| | | | | about various internals of SVR4 curses, old BSD curses, and/or other unclean things. (Yes, the non-curses handling still used bits of curses. Fie.)
* Remove config for the return type of signal handlers, which is also adholland2009-07-046-37/+36
| | | long-dead issue.
* Remove references to config #defines for the thoroughly obsoletedholland2009-07-043-22/+9
| | | 4.2BSD syslog API.
* more whitespacedholland2009-07-041-3/+3
|
* Various minor fixes, mostly from OpenBSD.dholland2009-07-041-51/+83
|
* Notes on the protocol used by hunt, from OpenBSD.dholland2009-07-041-0/+272
|
* Whitespace.dholland2009-07-044-615/+615
|
* Whitespace.dholland2009-07-0417-1123/+1134
|
* Sigh, more of the same (missed two)dholland2009-07-041-3/+3
|
* __attribute__((__noreturn__)) -> __deaddholland2009-07-041-5/+5
|
* ANSIfy function declarations.dholland2009-07-0416-297/+152
|
* Remove two more bogus casts. These *do* create object diffs on amd64,dholland2009-07-041-4/+4
| | | for no clear reason, but it looks like the diffs are harmless.
* Remove bogus casts. Two object file diffs inspected and found to be harmless.dholland2009-07-043-20/+19
|
* Remove a pile of bogus casts. One object file diff, crosschecked anddholland2009-07-048-43/+43
| | | found harmless.