NetBSD/games
jsm ab8b63434d Make mostly gcc -W clean, and other cleanup:
Use const.
Add __noreturn__ attributes.
Add a __format__ attribute.
Add __unused__ attributes.
Use symbolic constants for open() and lseek().
Declare types of all function parameters; convert some function
definitions to ISO C form.
Ensure standard file descriptors are open on startup.
Check for errors writing output of makedefs.
Avoid duplicate definitions of variables.
2001-03-25 20:43:58 +00:00
..
adventure eliminate redundant decls 2001-02-05 00:20:05 +00:00
arithmetic convert to use getprogname() 2001-02-19 22:39:39 +00:00
atc fix redundant decls and nested externs 2001-02-05 00:22:52 +00:00
backgammon remove redundant decl 2001-02-05 00:23:59 +00:00
banner Fix problem noted in PR 6649 (trailing whitespace on .Nm) 2001-03-07 22:30:38 +00:00
battlestar In cypher(), don't attempt to make sense of words other than VERBs or 2000-09-25 19:37:58 +00:00
bcd More include additions for exit, abs, strcmp, etc. 2000-07-03 03:57:39 +00:00
boggle fix nested extern 2001-02-05 00:27:35 +00:00
caesar Use setgid(), not setregid(). 2000-05-08 07:55:59 +00:00
canfield More include additions for exit, abs, strcmp, etc. 2000-07-03 03:57:39 +00:00
countmail remove extra period in SEE ALL section 2000-07-05 15:45:28 +00:00
cribbage remove redundant decl 2001-02-05 00:28:30 +00:00
dm play(): use snprintf() instead of hard-to-parse strncpy() calls 2001-01-25 20:41:41 +00:00
factor Add use of `const' where appropriate to the games. 1999-09-08 21:17:44 +00:00
fish Use setgid(), not setregid(). 2000-05-08 07:55:59 +00:00
fortune convert to use getprogname() 2001-02-19 22:39:39 +00:00
gomoku fix nested externs 2001-02-05 00:30:38 +00:00
hack Make mostly gcc -W clean, and other cleanup: 2001-03-25 20:43:58 +00:00
hangman Use setgid(), not setregid(). 2000-05-08 07:55:59 +00:00
hunt remove redundant decls 2001-02-05 00:42:14 +00:00
larn - rename getchar to lgetchar to avoid conflicts with the stdio getchar 2001-02-05 00:57:32 +00:00
mille Use setgid(), not setregid(). 2000-05-08 07:55:59 +00:00
monop avoid C sequence point issues warned about by development version of gcc. 2001-01-16 02:41:17 +00:00
morse More include additions for exit, abs, strcmp, etc. 2000-07-03 03:57:39 +00:00
number Add use of `const' where appropriate to the games. 1999-09-08 21:17:44 +00:00
phantasia remove redundant decls 2001-02-05 01:01:27 +00:00
pig Fix -Wsign-compare warnings. 1999-09-18 19:38:46 +00:00
pom Update pom to the third edition of Duffett-Smith's book, and clean it 1999-09-14 20:00:07 +00:00
ppt More include additions for exit, abs, strcmp, etc. 2000-07-03 03:57:39 +00:00
primes avoid strange typcast. 2001-01-20 15:06:34 +00:00
quiz The capital of Mordor is _not_ Minas Morgul. 2001-01-12 04:33:51 +00:00
rain
random Define and use MAXRANDOM instead of LONG_MAX. 2000-01-18 16:12:25 +00:00
robots fix nested externs 2001-02-05 01:02:45 +00:00
rogue remove duplicate decls 2001-02-05 01:04:25 +00:00
sail remove redundant decls. 2001-02-05 01:10:08 +00:00
snake Use setgid(), not setregid(). 2000-05-08 07:55:59 +00:00
tetris Fix core dump. 2000-05-24 14:43:00 +00:00
trek fix redundant decls and nested externs 2001-02-05 01:12:46 +00:00
wargames need an ${.OBJDIR} now 2000-01-25 21:41:18 +00:00
worm Use setgid(), not setregid(). 2000-05-08 07:55:59 +00:00
worms
wtf Just print basename in usage string. 2000-11-21 00:18:52 +00:00
wump Use setgid(), not setregid(). 2000-05-08 07:55:59 +00:00
Makefile
Makefile.inc