summaryrefslogtreecommitdiff
path: root/libc/stdlib/drand48.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.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.c')
-rw-r--r--libc/stdlib/drand48.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libc/stdlib/drand48.c b/libc/stdlib/drand48.c
index 8c9017b11..c53dcfbfc 100644
--- a/libc/stdlib/drand48.c
+++ b/libc/stdlib/drand48.c
@@ -19,10 +19,6 @@
#include <stdlib.h>
-
-/* Global state for non-reentrant functions. Defined in drand48-iter.c. */
-extern struct drand48_data __libc_drand48_data attribute_hidden;
-
double drand48 (void)
{
double result;