1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00
openbsd-src/games
mestre 7bda4eb305 - ranf() and franf() are prototyped on trek.h but ranf.c doesn't include it so
do it
- Replace random() >> 5 by only random(): this was discussed a few months ago
and naddy@ said at the time "Those games were originally written with the
rand(3) function. The lower bits returned by rand(3) suffered from notoriously
poor randomness, so this idiom developed where people would use the higher,
more random bits."

OK tb@ after his remarks
2016-03-08 18:43:47 +00:00
..
adventure Headers cleanup with and OK tb@ 2016-03-08 10:48:39 +00:00
arithmetic - optarg and optind are declared by unistd.h, so remove them... 2016-01-27 13:42:08 +00:00
atc remove -u? from usage(); 2016-03-07 13:48:25 +00:00
backgammon add missing 'void' 2016-01-08 13:40:05 +00:00
banner - General changes: 2016-03-07 12:07:55 +00:00
battlestar don't declar main. from Michal Mazurek 2016-01-01 15:56:03 +00:00
bcd - General changes: 2016-03-07 12:07:55 +00:00
boggle - General changes: 2016-03-07 12:07:55 +00:00
bs - General changes: 2016-03-07 12:07:55 +00:00
caesar - Convert atoi(3) to strtonum(3) 2016-02-26 12:10:49 +00:00
canfield Fix score file name 2016-03-02 17:51:28 +00:00
cribbage - General changes: 2016-03-07 12:07:55 +00:00
factor - General changes: 2016-03-07 12:07:55 +00:00
fish - General changes: 2016-03-07 12:07:55 +00:00
fortune eliminate do_malloc() and do_free(). 2016-03-07 22:49:45 +00:00
gomoku ANSIfy gomoku(6) and change a char* to u_char* 2016-01-08 21:38:33 +00:00
grdc - General changes: 2016-03-07 12:07:55 +00:00
hack #ifdef QUEST then a few functions won't work, because of that include 2016-01-10 15:12:20 +00:00
hangman Add back undocumented -h switch defaulting to usage(). 2016-02-28 06:24:06 +00:00
hunt - General changes: 2016-03-07 12:07:55 +00:00
mille ANSIfy mille(6) 2016-01-08 18:09:59 +00:00
monop ANSIfy monop(6) 2016-01-08 18:20:33 +00:00
morse - General changes: 2016-03-07 12:07:55 +00:00
number - General changes: 2016-03-07 12:07:55 +00:00
phantasia - General changes: 2016-03-07 12:07:55 +00:00
pig - General changes: 2016-03-07 12:07:55 +00:00
pom - General changes: 2016-03-07 12:07:55 +00:00
ppt - General changes: 2016-03-07 12:07:55 +00:00
primes - General changes: 2016-03-07 12:07:55 +00:00
quiz - General changes: 2016-03-07 12:07:55 +00:00
rain Some basic code maintenance in games/ 2016-01-07 16:00:31 +00:00
random - General changes: 2016-03-07 12:07:55 +00:00
robots - General changes: 2016-03-07 12:07:55 +00:00
sail there's a resource leak here. missing a fclose(3) to kill the stream. 2016-01-13 13:10:26 +00:00
snake - General changes: 2016-03-07 12:07:55 +00:00
tetris - General changes: 2016-03-07 12:07:55 +00:00
trek - ranf() and franf() are prototyped on trek.h but ranf.c doesn't include it so 2016-03-08 18:43:47 +00:00
wargames
worm Some basic code maintenance in games/ 2016-01-07 16:00:31 +00:00
worms KNF: wrap three overly long lines. No binary change. 2016-03-05 07:47:15 +00:00
wump - General changes: 2016-03-07 12:07:55 +00:00
Makefile
Makefile.inc Build most of games/ with -Werror-implicit-function-declaration. 2015-12-28 20:55:55 +00:00