summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdlib/rand.c
Commit message (Collapse)AuthorAgeFilesLines
* * implement a new `struct _reent' that is significantly smaller. use thisMatthew Green2002-02-031-4/+5
| | | | if _REENT_SMALL is defined in config.h. define this for xstormy16.
* Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston2000-06-201-1/+1
| | | | | | | * libc/include/sys/reent.h (_rand_next): Added __extension__ qualifier as long long type is not strict ANSI. * libc/stdlib/rand.c (rand): Added __extension__ qualifier to long long constant.
* Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston2000-06-091-3/+6
| | | | | | | | * libc/include/sys/reent.h (_rand_next): Changed to unsigned long long and moved to end of _reent struct in _new union. (_REENT_INIT): Changed to move _rand_next initialization. * libc/stdlib/rand.c (rand): Changed to use unsigned long long linear congruential algorithm that is used by DJGPP.
* import newlib-2000-02-17 snapshotChristopher Faylor2000-02-171-0/+86