summaryrefslogtreecommitdiff
path: root/include/stdlib.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-02-24 22:08:02 +0000
committerUlrich Drepper <drepper@redhat.com>2000-02-24 22:08:02 +0000
commitd653aacd5e302cb6a84706ee278014686afe4e53 (patch)
treea9b2decd041c7fdf2f2ecbfaf4c50389e068aef1 /include/stdlib.h
parent4afa1485078bc4130def4d4bcfba7b622a9c95fb (diff)
downloadglibc-d653aacd5e302cb6a84706ee278014686afe4e53.tar.gz
Update.
* include/stdlib.h: Change parameter types for __initstate_t and __setstate_r.
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 09e7980c15..38fd33d7b3 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -15,9 +15,9 @@ extern char *__initstate (unsigned int __seed, char *__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,
+extern int __initstate_r (unsigned int __seed, char *__statebuf,
size_t __statelen, struct random_data *__buf);
-extern int __setstate_r (void *__statebuf, struct random_data *__buf);
+extern int __setstate_r (char *__statebuf, struct random_data *__buf);
extern int __rand_r (unsigned int *__seed);
extern int __erand48_r (unsigned short int __xsubi[3],
struct drand48_data *__buffer, double *__result);