aboutsummaryrefslogtreecommitdiff
path: root/stdlib/jrand48_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/jrand48_r.c')
-rw-r--r--stdlib/jrand48_r.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/stdlib/jrand48_r.c b/stdlib/jrand48_r.c
index b1a4378..1a89790 100644
--- a/stdlib/jrand48_r.c
+++ b/stdlib/jrand48_r.c
@@ -25,13 +25,6 @@ jrand48_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;