summaryrefslogtreecommitdiff
path: root/stdlib/srand48_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/srand48_r.c')
-rw-r--r--stdlib/srand48_r.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stdlib/srand48_r.c b/stdlib/srand48_r.c
index 042c669950..763d5c4ef8 100644
--- a/stdlib/srand48_r.c
+++ b/stdlib/srand48_r.c
@@ -21,7 +21,7 @@
#include <limits.h>
int
-srand48_r (seedval, buffer)
+__srand48_r (seedval, buffer)
long int seedval;
struct drand48_data *buffer;
{
@@ -51,3 +51,4 @@ srand48_r (seedval, buffer)
return 0;
}
+weak_alias (__srand48_r, srand48_r)