diff options
author | ru <ru@FreeBSD.org> | 2001-05-16 14:34:47 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-05-16 14:34:47 +0000 |
commit | 6560bf44e92e4d136ec44a5e9744caec257046fc (patch) | |
tree | 17d51232e76b29a32100ee3a50d2d23a1b2deef8 /lib/libc/string/wmemchr.c | |
parent | b9f33f3993fb48e463c0875a9841beca42165a64 (diff) | |
download | FreeBSD-src-6560bf44e92e4d136ec44a5e9744caec257046fc.zip FreeBSD-src-6560bf44e92e4d136ec44a5e9744caec257046fc.tar.gz |
Unbreak world; _DIAGASSERT macro is not available in FreeBSD.
Diffstat (limited to 'lib/libc/string/wmemchr.c')
-rw-r--r-- | lib/libc/string/wmemchr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libc/string/wmemchr.c b/lib/libc/string/wmemchr.c index f98d61b..80add2a 100644 --- a/lib/libc/string/wmemchr.c +++ b/lib/libc/string/wmemchr.c @@ -46,8 +46,6 @@ wmemchr(s, c, n) { size_t i; - _DIAGASSERT(s != NULL); - for (i = 0; i < n; i++) { if (*s == c) { /* LINTED const castaway */ |