OpenGrok
Cross Reference: random.c
xref
: /
src
/
games
/
random
/
random.c
Home
|
History
|
Annotate
|
Download
|
only in
random
History log of
/src/games/random/random.c
Revision
Date
Author
Comments
1.16
02-May-2021
rillig
games: remove trailing whitespace in *.c and *.h
1.15
26-Jul-2020
nia
random(6): Use arc4random_uniform to simplify code
1.14
12-Aug-2009
dholland
sprinkle static
1.13
20-Jul-2009
dholland
ANSIfy. Also, we now have RANDOM_MAX; use it. Object diffs checked...
1.12
20-Jul-2008
lukem
Remove the \n and tabs from the __COPYRIGHT() strings.
1.11
15-Dec-2007
perry
branches: 1.11.6;
convert __attribute__s to applicable cdefs.h macros
1.10
10-Aug-2005
rpaulo
branches: 1.10.10;
Pass lint(1).
1.9
27-Jan-2004
jsm
Remove uses of __P.
1.8
07-Aug-2003
agc
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
1.7
18-Jan-2000
jsm
Define and use MAXRANDOM instead of LONG_MAX.
1.6
08-Sep-1999
jsm
Add `__noreturn__' and `__unused__' attributes where appropriate to
the games.
This merges in all such remaining changes from the Linux port of the
NetBSD games, except in hunt (where substantial changes from OpenBSD
need to be looked at).
Most noreturn attributes were previously added in bin/6144, with some
others that were missed then in bin/8082. Previous `unused'
attributes were covered in bin/6557, bin/8058 and other PRs (all these
PRs have already been handled and closed).
1.5
12-Oct-1997
lukem
WARNSify
1.4
07-Jan-1997
tls
Sync to 4.4BSD-Lite2
1.3
22-Apr-1995
cgd
NetBSD RCS IDs
1.2
21-Oct-1994
jtc
#include <limits.h> to get LONG_MAX
1.1
21-Oct-1994
jtc
branches: 1.1.1;
Initial revision
1.1.1.2
28-Dec-1996
tls
Import from 4.4BSD-Lite2
1.1.1.1
21-Oct-1994
jtc
random(6), from 44lite
1.10.10.1
09-Jan-2008
matt
sync with HEAD
1.11.6.1
18-Sep-2008
wrstuden
Sync with wrstuden-revivesa-base-2.
Indexes created Thu Oct 23 22:10:10 GMT 2025