summaryrefslogtreecommitdiff
path: root/libc/stdlib/srand48_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/srand48_r.c')
-rw-r--r--libc/stdlib/srand48_r.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/stdlib/srand48_r.c b/libc/stdlib/srand48_r.c
index c0fa38e90..d2f959c79 100644
--- a/libc/stdlib/srand48_r.c
+++ b/libc/stdlib/srand48_r.c
@@ -20,9 +20,7 @@
#include <stdlib.h>
#include <limits.h>
-int srand48_r (seedval, buffer)
- long int seedval;
- struct drand48_data *buffer;
+int attribute_hidden __srand48_r (long int seedval, struct drand48_data *buffer)
{
/* The standards say we only have 32 bits. */
if (sizeof (long int) > 4)
@@ -38,3 +36,4 @@ int srand48_r (seedval, buffer)
return 0;
}
+strong_alias(__srand48_r,srand48_r)