1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00
openbsd-src/games
mestre 9ea8ec706f About 13 years ago when the idiom srandom(time()), and sometimes
srandom(time()+getpid()), was changed by srandomdev(), but #include <time.h>
lived up until this day so remove it.

Additionally, earlier than that, 18 years ago, random(6) was one of the first
consumers of arc4random(3) family, and was pulling it from dev/rndvar.h but
these days we pull it from stdlib.h, which is already done, so while here
remove dev/rndvar.h also.

"seems comprehensive to me" deraadt@ and OK tb@
2016-01-03 14:38:16 +00:00
..
adventure About 13 years ago when the idiom srandom(time()), and sometimes 2016-01-03 14:38:16 +00:00
arithmetic About 13 years ago when the idiom srandom(time()), and sometimes 2016-01-03 14:38:16 +00:00
atc About 13 years ago when the idiom srandom(time()), and sometimes 2016-01-03 14:38:16 +00:00
backgammon About 13 years ago when the idiom srandom(time()), and sometimes 2016-01-03 14:38:16 +00:00
banner - use strtonum(3) instead of atoi(3) 2015-12-25 23:41:43 +00:00
battlestar don't declar main. from Michal Mazurek 2016-01-01 15:56:03 +00:00
bcd include err.h for err() calls added with recent pledge commits. 2015-10-23 02:01:15 +00:00
boggle About 13 years ago when the idiom srandom(time()), and sometimes 2016-01-03 14:38:16 +00:00
bs About 13 years ago when the idiom srandom(time()), and sometimes 2016-01-03 14:38:16 +00:00
caesar Use __progname instead of hand-rolled parsing of argv[0]. 2015-12-16 14:21:50 +00:00
canfield About 13 years ago when the idiom srandom(time()), and sometimes 2016-01-03 14:38:16 +00:00
cribbage Include only needed header files per each source file 2015-12-31 18:10:19 +00:00
factor Michal Mazurek pointed out on tech@ that the factor.6 manual needs a bit 2015-12-30 14:07:53 +00:00
fish About 13 years ago when the idiom srandom(time()), and sometimes 2016-01-03 14:38:16 +00:00
fortune About 13 years ago when the idiom srandom(time()), and sometimes 2016-01-03 14:38:16 +00:00
gomoku Set as __dead a few more functions, that don't return, on games/ 2015-12-26 00:26:39 +00:00
grdc About 13 years ago when the idiom srandom(time()), and sometimes 2016-01-03 14:38:16 +00:00
hack Set as __dead a few more functions, that don't return, on games/ 2015-12-26 00:26:39 +00:00
hangman Include only needed header files per each source file 2015-12-31 15:20:36 +00:00
hunt Set as __dead a few more functions, that don't return, on games/ 2015-12-26 00:26:39 +00:00
mille About 13 years ago when the idiom srandom(time()), and sometimes 2016-01-03 14:38:16 +00:00
monop pledge "stdio rpath wpath cpath" 2015-11-21 03:20:30 +00:00
morse include err.h for err() calls added with recent pledge commits. 2015-10-23 02:01:15 +00:00
number Declare usage() functions as __dead void, if they don't return, on games section. 2015-12-25 20:59:09 +00:00
phantasia About 13 years ago when the idiom srandom(time()), and sometimes 2016-01-03 14:38:16 +00:00
pig Declare usage() functions as __dead void, if they don't return, on games section. 2015-12-25 20:59:09 +00:00
pom Set as __dead a few more functions, that don't return, on games/ 2015-12-26 00:26:39 +00:00
ppt Declare usage() functions as __dead void, if they don't return, on games section. 2015-12-25 20:59:09 +00:00
primes Declare usage() functions as __dead void, if they don't return, on games section. 2015-12-25 20:59:09 +00:00
quiz About 13 years ago when the idiom srandom(time()), and sometimes 2016-01-03 14:38:16 +00:00
rain pledge "getpw" is not needed here. 2015-12-06 11:22:37 +00:00
random About 13 years ago when the idiom srandom(time()), and sometimes 2016-01-03 14:38:16 +00:00
robots Set as __dead a few more functions, that don't return, on games/ 2015-12-26 00:26:39 +00:00
sail Include only needed header files per each source file 2015-12-31 16:44:21 +00:00
snake About 13 years ago when the idiom srandom(time()), and sometimes 2016-01-03 14:38:16 +00:00
tetris About 13 years ago when the idiom srandom(time()), and sometimes 2016-01-03 14:38:16 +00:00
trek pledge "stdio rpath wpath cpath" for this one. 2015-11-30 08:55:26 +00:00
wargames
worm About 13 years ago when the idiom srandom(time()), and sometimes 2016-01-03 14:38:16 +00:00
worms pledge the wyrms 2015-11-21 05:29:42 +00:00
wump About 13 years ago when the idiom srandom(time()), and sometimes 2016-01-03 14:38:16 +00:00
Makefile
Makefile.inc Build most of games/ with -Werror-implicit-function-declaration. 2015-12-28 20:55:55 +00:00