summaryrefslogtreecommitdiffstats
path: root/random/random.c
Commit message (Collapse)AuthorAgeFilesLines
* random(6): Use arc4random_uniform to simplify codenia2020-07-261-9/+5
|
* sprinkle staticdholland2009-08-121-4/+4
|
* ANSIfy. Also, we now have RANDOM_MAX; use it. Object diffs checked...dholland2009-07-201-12/+7
|
* Remove the \n and tabs from the __COPYRIGHT() strings.lukem2008-07-201-4/+4
|
* convert __attribute__s to applicable cdefs.h macrosperry2007-12-151-3/+3
|
* Pass lint(1).rpaulo2005-08-101-3/+5
|
* Remove uses of __P.jsm2004-01-271-4/+4
|
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-071-7/+3
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* Define and use MAXRANDOM instead of LONG_MAX.jsm2000-01-181-5/+7
|
* Add `__noreturn__' and `__unused__' attributes where appropriate tojsm1999-09-081-3/+3
| | | | | | | | | | | | 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).
* WARNSifylukem1997-10-121-7/+8
|
* Sync to 4.4BSD-Lite2tls1997-01-071-6/+7
|
* NetBSD RCS IDscgd1995-04-221-0/+6
|
* #include <limits.h> to get LONG_MAXjtc1994-10-211-0/+1
|
* random(6), from 44litejtc1994-10-211-0/+148