| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
if _REENT_SMALL is defined in config.h. define this for xstormy16.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|