diff options
Diffstat (limited to 'lib/libc/string/strcoll.c')
| -rw-r--r-- | lib/libc/string/strcoll.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/libc/string/strcoll.c b/lib/libc/string/strcoll.c index cd7436e382f..0e9dbb16bec 100644 --- a/lib/libc/string/strcoll.c +++ b/lib/libc/string/strcoll.c @@ -1,4 +1,4 @@ -/* $NetBSD: strcoll.c,v 1.7 1999/09/16 11:45:41 lukem Exp $ */ +/* $NetBSD: strcoll.c,v 1.8 1999/09/20 04:39:46 lukem Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)strcoll.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: strcoll.c,v 1.7 1999/09/16 11:45:41 lukem Exp $"); +__RCSID("$NetBSD: strcoll.c,v 1.8 1999/09/20 04:39:46 lukem Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -58,10 +58,6 @@ strcoll(s1, s2) _DIAGASSERT(s1 != NULL); _DIAGASSERT(s2 != NULL); -#ifdef _DIAGNOSTIC - if (s1 == NULL || s2 == NULL) - return (0); -#endif /* LC_COLLATE is unimplemented, hence always "C" */ return (strcmp(s1, s2)); |
