summaryrefslogtreecommitdiff
path: root/libc/stdlib/nrand48_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/nrand48_r.c')
-rw-r--r--libc/stdlib/nrand48_r.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/stdlib/nrand48_r.c b/libc/stdlib/nrand48_r.c
index f72c07030..6f8afdb77 100644
--- a/libc/stdlib/nrand48_r.c
+++ b/libc/stdlib/nrand48_r.c
@@ -22,7 +22,7 @@
extern int __drand48_iterate(unsigned short xsubi[3],
struct drand48_data *buffer) attribute_hidden;
-int attribute_hidden __nrand48_r (unsigned short int xsubi[3], struct drand48_data *buffer, long int *result)
+int nrand48_r (unsigned short int xsubi[3], struct drand48_data *buffer, long int *result)
{
/* Compute next state. */
if (__drand48_iterate (xsubi, buffer) < 0)
@@ -36,4 +36,5 @@ int attribute_hidden __nrand48_r (unsigned short int xsubi[3], struct drand48_da
return 0;
}
-strong_alias(__nrand48_r,nrand48_r)
+libc_hidden_proto(nrand48_r)
+libc_hidden_def(nrand48_r)