diff options
Diffstat (limited to 'stdlib/lrand48.c')
-rw-r--r-- | stdlib/lrand48.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/lrand48.c b/stdlib/lrand48.c index 2f5530b..0c25935 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; } |