aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-02-24 22:06:39 +0000
committerUlrich Drepper <drepper@redhat.com>2000-02-24 22:06:39 +0000
commit4afa1485078bc4130def4d4bcfba7b622a9c95fb (patch)
tree759fe4b5d78eb749731396844fad588a98a2e358
parent691ca5658ea71f2087fad18d8624b8648e460c73 (diff)
downloadglibc-4afa1485078bc4130def4d4bcfba7b622a9c95fb.zip
glibc-4afa1485078bc4130def4d4bcfba7b622a9c95fb.tar.gz
glibc-4afa1485078bc4130def4d4bcfba7b622a9c95fb.tar.bz2
Update.
* stdlib/random_r.c: Change parameter types for initstate_t and setstate_r.
-rw-r--r--ChangeLog2
-rw-r--r--stdlib/random_r.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e062ee8..e0c4f9d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
2000-02-24 Ulrich Drepper <drepper@redhat.com>
* stdlib/stdlib.h (setstate): Don't mark argument as const (yet).
+ * stdlib/random_r.c: Change parameter types for initstate_t and
+ setstate_r.
2000-02-24 Andreas Jaeger <aj@suse.de>
diff --git a/stdlib/random_r.c b/stdlib/random_r.c
index 445bc95..9a74451 100644
--- a/stdlib/random_r.c
+++ b/stdlib/random_r.c
@@ -202,7 +202,7 @@ weak_alias (__srandom_r, srandom_r)
int
__initstate_r (seed, arg_state, n, buf)
unsigned int seed;
- void *arg_state;
+ char *arg_state;
size_t n;
struct random_data *buf;
{
@@ -264,7 +264,7 @@ weak_alias (__initstate_r, initstate_r)
Returns a pointer to the old state information. */
int
__setstate_r (arg_state, buf)
- void *arg_state;
+ char *arg_state;
struct random_data *buf;
{
int32_t *new_state = (int32_t *) arg_state;