summary refs log tree commit diff
path: root/stdlib/lrand48.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/lrand48.c')
-rw-r--r--stdlib/lrand48.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/lrand48.c b/stdlib/lrand48.c
index 2f5530b33c..0c2593551b 100644
--- a/stdlib/lrand48.c
+++ b/stdlib/lrand48.c
@@ -22,12 +22,12 @@
 /* Global state for non-reentrant functions.  Defined in drand48-iter.c.  */
 extern struct drand48_data __libc_drand48_data;
 
-long
+long int
 lrand48 ()
 {
-  long result;
+  long int result;
 
-  (void) nrand48_r (__libc_drand48_data.X, &__libc_drand48_data, &result);
+  (void) __nrand48_r (__libc_drand48_data.X, &__libc_drand48_data, &result);
 
   return result;
 }