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, 3 insertions, 2 deletions
diff --git a/libc/stdlib/srand48_r.c b/libc/stdlib/srand48_r.c
index d2f959c79..5f9cf1da3 100644
--- a/libc/stdlib/srand48_r.c
+++ b/libc/stdlib/srand48_r.c
@@ -20,7 +20,7 @@
#include <stdlib.h>
#include <limits.h>
-int attribute_hidden __srand48_r (long int seedval, struct drand48_data *buffer)
+int srand48_r (long int seedval, struct drand48_data *buffer)
{
/* The standards say we only have 32 bits. */
if (sizeof (long int) > 4)
@@ -36,4 +36,5 @@ int attribute_hidden __srand48_r (long int seedval, struct drand48_data *buffer)
return 0;
}
-strong_alias(__srand48_r,srand48_r)
+libc_hidden_proto(srand48_r)
+libc_hidden_def(srand48_r)