diff options
Diffstat (limited to 'lib/libc/stdlib/strtoul.c')
| -rw-r--r-- | lib/libc/stdlib/strtoul.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/libc/stdlib/strtoul.c b/lib/libc/stdlib/strtoul.c index 7bd1a599ca9..63c544dfe15 100644 --- a/lib/libc/stdlib/strtoul.c +++ b/lib/libc/stdlib/strtoul.c @@ -1,4 +1,4 @@ -/* $NetBSD: strtoul.c,v 1.14 1999/09/16 11:45:36 lukem Exp $ */ +/* $NetBSD: strtoul.c,v 1.15 1999/09/20 04:39:42 lukem Exp $ */ /* * Copyright (c) 1990, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)strtoul.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: strtoul.c,v 1.14 1999/09/16 11:45:36 lukem Exp $"); +__RCSID("$NetBSD: strtoul.c,v 1.15 1999/09/20 04:39:42 lukem Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -67,12 +67,6 @@ strtoul(nptr, endptr, base) _DIAGASSERT(nptr != NULL); /* endptr may be NULL */ -#ifdef _DIAGNOSTIC - if (nptr == NULL) { - errno = EFAULT; - return ((unsigned long)0); - } -#endif /* * See strtol for comments as to the logic used. |
