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.tar.gz glibc-344be96af46b4e8cc79d942db00ae105929a43c2.tar.xz glibc-344be96af46b4e8cc79d942db00ae105929a43c2.zip |
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
diff --git a/ChangeLog b/ChangeLog index 2698f78ab5..bb1d2a6503 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 41c5b780ed..12fce40f9b 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); |