diff options
Diffstat (limited to 'stdlib/nrand48_r.c')
-rw-r--r-- | stdlib/nrand48_r.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/stdlib/nrand48_r.c b/stdlib/nrand48_r.c index 1bbc29e..d5ebf35 100644 --- a/stdlib/nrand48_r.c +++ b/stdlib/nrand48_r.c @@ -25,13 +25,6 @@ nrand48_r (xsubi, buffer, result) struct drand48_data *buffer; long *result; { - /* Be generous for the arguments, detect some errors. */ - if (result == NULL) - { - errno = EFAULT; - return -1; - } - /* Compute next state. */ if (__drand48_iterate (xsubi, buffer) < 0) return -1; |