mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
Update.
Change return type of random to long int.
This commit is contained in:
parent
842d709cb3
commit
344be96af4
@ -7,6 +7,7 @@
|
||||
Change return type of unsetenv to int.
|
||||
(qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
|
||||
* include/stdlib.h: Change return type of unsetenv to int.
|
||||
Change return type of random to long int.
|
||||
* sysdeps/generic/setenv.c (unsetenv): Change return type to int.
|
||||
Return -1 and set errno if parameter is invalid.
|
||||
* stdlib/random.c (__random): Change return value type to long.
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
/* Now define the internal interfaces. */
|
||||
#ifndef __Need_M_And_C
|
||||
extern int32_t __random (void);
|
||||
extern long int __random (void);
|
||||
extern void __srandom (unsigned int __seed);
|
||||
extern char *__initstate (unsigned int __seed, char *__statebuf,
|
||||
size_t __statelen);
|
||||
|
Loading…
Reference in New Issue
Block a user