mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-28 04:03:35 +08:00
Update.
* include/stdlib.h: Change parameter types for __initstate_t and __setstate_r.
This commit is contained in:
parent
4afa148507
commit
d653aacd5e
@ -3,6 +3,8 @@
|
||||
* stdlib/stdlib.h (setstate): Don't mark argument as const (yet).
|
||||
* stdlib/random_r.c: Change parameter types for initstate_t and
|
||||
setstate_r.
|
||||
* include/stdlib.h: Change parameter types for __initstate_t and
|
||||
__setstate_r.
|
||||
|
||||
2000-02-24 Andreas Jaeger <aj@suse.de>
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user