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/string/wcscmp.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/string/wcscmp.c')
-rw-r--r-- | lib/libc/string/wcscmp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/string/wcscmp.c b/lib/libc/string/wcscmp.c index 4a8f6ba3fb9..42d6bca3ccb 100644 --- a/lib/libc/string/wcscmp.c +++ b/lib/libc/string/wcscmp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wcscmp.c,v 1.4 2005/08/08 08:05:37 espie Exp $ */ +/* $OpenBSD: wcscmp.c,v 1.5 2015/09/12 16:23:14 guenther Exp $ */ /* $NetBSD: wcscmp.c,v 1.5 2003/08/07 16:43:54 agc Exp $ */ /*- @@ -49,3 +49,4 @@ wcscmp(const wchar_t *s1, const wchar_t *s2) /* XXX assumes wchar_t = int */ return (*(const rune_t *)s1 - *(const rune_t *)--s2); } +DEF_STRONG(wcscmp); |