summaryrefslogtreecommitdiff
path: root/libc/stdlib/drand48-iter.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-09 14:48:45 +0100
committerPeter S. Mazinger <ps.m@gmx.net>2011-03-09 14:48:45 +0100
commit7aea441c8a240bd5a0717ec09ae8efc4878cd377 (patch)
tree79883819b822ddb6e2c98ec2b814ab94df94e41e /libc/stdlib/drand48-iter.c
parent1903a3babc27a717dcc2de743c3e70f673178b9f (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 'libc/stdlib/drand48-iter.c')
-rw-r--r--libc/stdlib/drand48-iter.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libc/stdlib/drand48-iter.c b/libc/stdlib/drand48-iter.c
index 221cbe08f..e0c1ce430 100644
--- a/libc/stdlib/drand48-iter.c
+++ b/libc/stdlib/drand48-iter.c
@@ -23,13 +23,9 @@
#include <stdint.h>
#include <sys/types.h>
-/* Global state for non-reentrant functions. */
-struct drand48_data __libc_drand48_data attribute_hidden;
-
#ifdef __UCLIBC_MJN3_ONLY__
#warning turn int __drand48_iterate into void
#endif /* __UCLIBC_MJN3_ONLY__ */
-int __drand48_iterate (unsigned short int xsubi[3], struct drand48_data *buffer) attribute_hidden;
int __drand48_iterate (unsigned short int xsubi[3], struct drand48_data *buffer)
{
uint64_t X;