OSDN Git Service

malloc: fix race condition and other bugs in the no-mmu malloc
[uclinux-h8/uClibc.git] / libc / stdlib / srand48_r.c
index d2f959c..4347fef 100644 (file)
@@ -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,4 @@ int attribute_hidden __srand48_r (long int seedval, struct drand48_data *buffer)
 
     return 0;
 }
-strong_alias(__srand48_r,srand48_r)
+libc_hidden_def(srand48_r)