diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-01-27 08:21:42 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-01-27 08:21:42 +0000 |
commit | 344be96af46b4e8cc79d942db00ae105929a43c2 (patch) | |
tree | 6eb2b8aa3b6420181c31b90428cfda2fe039aaf8 | |
parent | 842d709cb30d5c42e27ab4ba255f43a8e5e8c0d9 (diff) | |
download | glibc-344be96af46b4e8cc79d942db00ae105929a43c2.zip glibc-344be96af46b4e8cc79d942db00ae105929a43c2.tar.gz glibc-344be96af46b4e8cc79d942db00ae105929a43c2.tar.bz2 |
Update.
Change return type of random to long int.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | include/stdlib.h | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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. diff --git a/include/stdlib.h b/include/stdlib.h index 41c5b78..12fce40 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -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); |