summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-02-24 19:12:31 +0000
committerUlrich Drepper <drepper@redhat.com>2000-02-24 19:12:31 +0000
commit6484a17f65e7607f43b6691eaaf4cbd9bdfa92bf (patch)
tree6984aae0c00edc4cf8f21effc996f255fb436d1a /include
parent82d5b646033492642a6e64cb4fe9ba4d394aaf3b (diff)
downloadglibc-6484a17f65e7607f43b6691eaaf4cbd9bdfa92bf.tar.gz
Fix prototypes of __initstate and __setstate.
Diffstat (limited to 'include')
-rw-r--r--include/stdlib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 7586203057..09e7980c15 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,