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/wcsstr.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/wcsstr.c')
-rw-r--r-- | lib/libc/string/wcsstr.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/string/wcsstr.c b/lib/libc/string/wcsstr.c index 669e3402808..6a08b625515 100644 --- a/lib/libc/string/wcsstr.c +++ b/lib/libc/string/wcsstr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wcsstr.c,v 1.3 2005/08/08 08:05:37 espie Exp $ */ +/* $OpenBSD: wcsstr.c,v 1.4 2015/09/12 16:23:14 guenther Exp $ */ /* $NetBSD: wcsstr.c,v 1.3 2003/03/05 20:18:17 tshiozak Exp $ */ /*- @@ -68,3 +68,6 @@ wcsstr(const wchar_t *big, const wchar_t *little) } return NULL; } +#ifndef WCSWCS +DEF_STRONG(wcsstr); +#endif |