summaryrefslogtreecommitdiff
path: root/libc/stdlib/drand48_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/drand48_r.c')
-rw-r--r--libc/stdlib/drand48_r.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdlib/drand48_r.c b/libc/stdlib/drand48_r.c
index 14235e6e0..0f96e59f7 100644
--- a/libc/stdlib/drand48_r.c
+++ b/libc/stdlib/drand48_r.c
@@ -17,12 +17,12 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#define erand48_r __erand48_r
-
#include <errno.h>
#include <math.h>
#include <stdlib.h>
+libc_hidden_proto(erand48_r)
+
int drand48_r (struct drand48_data *buffer, double *result)
{
return erand48_r (buffer->__x, buffer, result);