about summary refs log tree commit diff
path: root/stdlib/nrand48.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/nrand48.c')
-rw-r--r--stdlib/nrand48.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/nrand48.c b/stdlib/nrand48.c
index dc646275d4..5ec7bd72a0 100644
--- a/stdlib/nrand48.c
+++ b/stdlib/nrand48.c
@@ -22,13 +22,13 @@
 /* Global state for non-reentrant functions.  Defined in drand48-iter.c.  */
 extern struct drand48_data __libc_drand48_data;
 
-long
+long int
 nrand48 (xsubi)
      unsigned short int xsubi[3];
 {
-  long result;
+  long int result;
 
-  (void) nrand48_r (xsubi, &__libc_drand48_data, &result);
+  (void) __nrand48_r (xsubi, &__libc_drand48_data, &result);
 
   return result;
 }