summaryrefslogtreecommitdiff
path: root/libc/stdlib/nrand48.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/nrand48.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/nrand48.c')
-rw-r--r--libc/stdlib/nrand48.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libc/stdlib/nrand48.c b/libc/stdlib/nrand48.c
index 97c197caa..5183484fa 100644
--- a/libc/stdlib/nrand48.c
+++ b/libc/stdlib/nrand48.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;
-
long int nrand48 (unsigned short int xsubi[3])
{
long int result;