OSDN Git Service

Merge remote branch 'origin/master' into nptl_merge
[uclinux-h8/uClibc.git] / libc / stdlib / nrand48_r.c
index 89f098e..0710e90 100644 (file)
 
 #include <stdlib.h>
 
-extern int __drand48_iterate(unsigned short xsubi[3], 
+extern int __drand48_iterate(unsigned short xsubi[3],
        struct drand48_data *buffer) attribute_hidden;
 
-int nrand48_r (xsubi, buffer, result)
-     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)
@@ -39,3 +36,4 @@ int nrand48_r (xsubi, buffer, result)
 
     return 0;
 }
+libc_hidden_def(nrand48_r)