1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/games
John Baldwin 59c2bcbae9 Correct an error in the previous revision. RAND_MAX is the maximum value
for rand(3), not random(3).  random(3) is defined to return values between
0 and 2^31-1, so add a local RANDOM_MAX constant to this file that is
defined as 2^31-1 and use that in place of RAND_MAX.

Reviewed by:	bde
Approved by:	re (dwhite)
MFC after:	1 week
2005-06-22 15:24:00 +00:00
..
bcd
caesar Make caesar and pom WARNS 6 clean. While there, use prototypes everywhere. 2005-05-01 19:34:22 +00:00
factor Enforce style.Makefile(5). 2005-04-22 18:57:32 +00:00
fortune Snoopy in quality of life. 2005-06-10 08:58:44 +00:00
grdc
morse Fix markup nits. 2005-06-07 21:43:16 +00:00
number Expand *n't contractions. 2005-02-13 22:25:33 +00:00
pom Make caesar and pom WARNS 6 clean. While there, use prototypes everywhere. 2005-05-01 19:34:22 +00:00
ppt
primes
random Correct an error in the previous revision. RAND_MAX is the maximum value 2005-06-22 15:24:00 +00:00
Makefile
Makefile.inc