about summary refs log tree commit diff
path: root/stdlib/jrand48_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/jrand48_r.c')
-rw-r--r--stdlib/jrand48_r.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/stdlib/jrand48_r.c b/stdlib/jrand48_r.c
index 648604d4f5..ce4c8b0a95 100644
--- a/stdlib/jrand48_r.c
+++ b/stdlib/jrand48_r.c
@@ -20,10 +20,10 @@
 #include <stdlib.h>
 
 int
-jrand48_r (xsubi, buffer, result)
+__jrand48_r (xsubi, buffer, result)
      unsigned short int xsubi[3];
      struct drand48_data *buffer;
-     long *result;
+     long int *result;
 {
   /* Compute next state.  */
   if (__drand48_iterate (xsubi, buffer) < 0)
@@ -40,3 +40,4 @@ jrand48_r (xsubi, buffer, result)
 
   return 0;
 }
+weak_alias (__jrand48_r, jrand48_r)