diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-02-24 19:12:31 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-02-24 19:12:31 +0000 |
commit | 6484a17f65e7607f43b6691eaaf4cbd9bdfa92bf (patch) | |
tree | 6984aae0c00edc4cf8f21effc996f255fb436d1a /include/stdlib.h | |
parent | 82d5b646033492642a6e64cb4fe9ba4d394aaf3b (diff) | |
download | glibc-6484a17f65e7607f43b6691eaaf4cbd9bdfa92bf.zip glibc-6484a17f65e7607f43b6691eaaf4cbd9bdfa92bf.tar.gz glibc-6484a17f65e7607f43b6691eaaf4cbd9bdfa92bf.tar.bz2 |
Fix prototypes of __initstate and __setstate.
Diffstat (limited to 'include/stdlib.h')
-rw-r--r-- | include/stdlib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 7586203..09e7980 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -10,9 +10,9 @@ #ifndef __Need_M_And_C extern int32_t __random (void); extern void __srandom (unsigned int __seed); -extern void *__initstate (unsigned int __seed, void *__statebuf, +extern char *__initstate (unsigned int __seed, char *__statebuf, size_t __statelen); -extern void *__setstate (void *__statebuf); +extern char *__setstate (char *__statebuf); extern int __random_r (struct random_data *__buf, int32_t *__result); extern int __srandom_r (unsigned int __seed, struct random_data *__buf); extern int __initstate_r (unsigned int __seed, void *__statebuf, |