2006-09-12 Paul Brook <paul@codesourcery.com>
* libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
This commit is contained in:
parent
56ec0f9c9c
commit
8f9f25dad8
|
@ -1,5 +1,10 @@
|
||||||
|
2006-09-12 Paul Brook <paul@codesourcery.com>
|
||||||
|
|
||||||
|
* libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
|
||||||
|
|
||||||
2006-09-07 Masaki Muranaka <monaka@monami-software.com>
|
2006-09-07 Masaki Muranaka <monaka@monami-software.com>
|
||||||
|
|
||||||
|
|
||||||
* libc/machine/xstormy16/Makefile.am:
|
* libc/machine/xstormy16/Makefile.am:
|
||||||
Add $(lpfx) prefix to LIBADD objects.
|
Add $(lpfx) prefix to LIBADD objects.
|
||||||
lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
|
lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
|
||||||
|
|
|
@ -72,7 +72,8 @@ on two different systems.
|
||||||
void
|
void
|
||||||
_DEFUN (srand, (seed), unsigned int seed)
|
_DEFUN (srand, (seed), unsigned int seed)
|
||||||
{
|
{
|
||||||
_REENT_RAND_NEXT(_REENT) = seed;
|
_REENT_CHECK_RAND48(_REENT);
|
||||||
|
_REENT_RAND_NEXT(_REENT) = seed;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
Loading…
Reference in New Issue