From: Ulrich Drepper Date: Sat, 27 Jan 2001 08:21:42 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2_2_2~176 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=344be96af46b4e8cc79d942db00ae105929a43c2;p=thirdparty%2Fglibc.git Update. Change return type of random to long int. --- diff --git a/ChangeLog b/ChangeLog index 2698f78ab5c..bb1d2a65034 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 41c5b780ed2..12fce40f9b9 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);