summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/wcscmp.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-05-16 14:34:47 +0000
committerru <ru@FreeBSD.org>2001-05-16 14:34:47 +0000
commit6560bf44e92e4d136ec44a5e9744caec257046fc (patch)
tree17d51232e76b29a32100ee3a50d2d23a1b2deef8 /lib/libc/string/wcscmp.c
parentb9f33f3993fb48e463c0875a9841beca42165a64 (diff)
downloadFreeBSD-src-6560bf44e92e4d136ec44a5e9744caec257046fc.zip
FreeBSD-src-6560bf44e92e4d136ec44a5e9744caec257046fc.tar.gz
Unbreak world; _DIAGASSERT macro is not available in FreeBSD.
Diffstat (limited to 'lib/libc/string/wcscmp.c')
-rw-r--r--lib/libc/string/wcscmp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libc/string/wcscmp.c b/lib/libc/string/wcscmp.c
index af5e212..d0eb1ee 100644
--- a/lib/libc/string/wcscmp.c
+++ b/lib/libc/string/wcscmp.c
@@ -58,9 +58,6 @@ wcscmp(s1, s2)
const wchar_t *s1, *s2;
{
- _DIAGASSERT(s1 != NULL);
- _DIAGASSERT(s2 != NULL);
-
while (*s1 == *s2++)
if (*s1++ == 0)
return (0);
OpenPOWER on IntegriCloud