mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
Update.
* stdlib/random_r.c: Change parameter types for initstate_t and setstate_r.
This commit is contained in:
parent
691ca5658e
commit
4afa148507
@ -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>
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user