diff options
author | 2015-09-12 16:23:14 +0000 | |
---|---|---|
committer | 2015-09-12 16:23:14 +0000 | |
commit | 38a75b98f3fd53b60cfeaff8ed9b08fd7afaad1c (patch) | |
tree | 8b99daf217719f1c27cb0c1e00e3a53852fc2809 /lib/libc/locale/iswctype.c | |
parent | sys/syscall_mi is only included by MD trap.c files, which have reason to (diff) | |
download | wireguard-openbsd-38a75b98f3fd53b60cfeaff8ed9b08fd7afaad1c.tar.xz wireguard-openbsd-38a75b98f3fd53b60cfeaff8ed9b08fd7afaad1c.zip |
Wrap <inttypes.h> and finish wrapping of <wchar.h> so that calls go direct
and the symbols not in the C standard are weak
Diffstat (limited to 'lib/libc/locale/iswctype.c')
-rw-r--r-- | lib/libc/locale/iswctype.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/locale/iswctype.c b/lib/libc/locale/iswctype.c index 0a557aaac76..fb0cde26392 100644 --- a/lib/libc/locale/iswctype.c +++ b/lib/libc/locale/iswctype.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iswctype.c,v 1.4 2014/03/16 18:38:30 guenther Exp $ */ +/* $OpenBSD: iswctype.c,v 1.5 2015/09/12 16:23:14 guenther Exp $ */ /* $NetBSD: iswctype.c,v 1.15 2005/02/09 21:35:46 kleink Exp $ */ /* @@ -168,6 +168,7 @@ wcwidth(wchar_t c) return (((unsigned)__runetype_w(c) & _CTYPE_SWM) >> _CTYPE_SWS); return -1; } +DEF_WEAK(wcwidth); wctrans_t wctrans(const char *charclass) |