summaryrefslogtreecommitdiff
path: root/lib/libc/string/strcasecmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string/strcasecmp.c')
-rw-r--r--lib/libc/string/strcasecmp.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/libc/string/strcasecmp.c b/lib/libc/string/strcasecmp.c
index fc903554899..4f9816a5c4e 100644
--- a/lib/libc/string/strcasecmp.c
+++ b/lib/libc/string/strcasecmp.c
@@ -1,4 +1,4 @@
-/* $NetBSD: strcasecmp.c,v 1.10 1999/09/16 11:45:41 lukem Exp $ */
+/* $NetBSD: strcasecmp.c,v 1.11 1999/09/20 04:39:45 lukem Exp $ */
/*
* Copyright (c) 1987, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)strcasecmp.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: strcasecmp.c,v 1.10 1999/09/16 11:45:41 lukem Exp $");
+__RCSID("$NetBSD: strcasecmp.c,v 1.11 1999/09/20 04:39:45 lukem Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -63,10 +63,6 @@ strcasecmp(s1, s2)
_DIAGASSERT(s1 != NULL);
_DIAGASSERT(s2 != NULL);
-#ifdef _DIAGNOSTIC
- if (s1 == NULL || s2 == NULL)
- return (0);
-#endif
while (tolower(*us1) == tolower(*us2++))
if (*us1++ == '\0')