summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/wcswidth.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/wcswidth.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/wcswidth.c')
-rw-r--r--lib/libc/string/wcswidth.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libc/string/wcswidth.c b/lib/libc/string/wcswidth.c
index 0bc2ebe..ed3eb9d 100644
--- a/lib/libc/string/wcswidth.c
+++ b/lib/libc/string/wcswidth.c
@@ -45,8 +45,6 @@ wcswidth(s, n)
{
int w;
- _DIAGASSERT(s != NULL);
-
w = 0;
while (n && *s) {
w += wcwidth(*s);
OpenPOWER on IntegriCloud