diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-09 14:48:45 +0100 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-09 14:48:45 +0100 |
commit | 7aea441c8a240bd5a0717ec09ae8efc4878cd377 (patch) | |
tree | 79883819b822ddb6e2c98ec2b814ab94df94e41e /include | |
parent | 1903a3babc27a717dcc2de743c3e70f673178b9f (diff) |
move prototype for __drand48_iterate and __libc_drand48_data to stdlib.h
Move them to a common header guarded by _LIBC
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/stdlib.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 00bba5f54..6afc321e6 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -908,6 +908,13 @@ libc_hidden_proto(arc4random_stir) extern void arc4random_addrandom(unsigned char *, int); #endif +#ifdef _LIBC +extern int __drand48_iterate (unsigned short int xsubi[3], struct drand48_data *buffer) attribute_hidden; + +/* Global state for non-reentrant functions. */ +extern struct drand48_data __libc_drand48_data attribute_hidden; +#endif + #endif /* don't just need malloc and calloc */ #undef __need_malloc_and_calloc |