summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/wcslen.c
diff options
context:
space:
mode:
authorguenther <>2015-09-12 16:23:14 +0000
committerguenther <>2015-09-12 16:23:14 +0000
commit913cc548a379f5f2408e621a6c02c786392dab9d (patch)
tree5148a0ffe69b5fa2b2c4caf343db71769142afed /src/lib/libc/string/wcslen.c
parent56a3e20d1e41c02e4afd069925ec512ebb40b905 (diff)
downloadopenbsd-913cc548a379f5f2408e621a6c02c786392dab9d.tar.gz
openbsd-913cc548a379f5f2408e621a6c02c786392dab9d.tar.bz2
openbsd-913cc548a379f5f2408e621a6c02c786392dab9d.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 'src/lib/libc/string/wcslen.c')
-rw-r--r--src/lib/libc/string/wcslen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/string/wcslen.c b/src/lib/libc/string/wcslen.c
index c1de4a271e..16d4bba128 100644
--- a/src/lib/libc/string/wcslen.c
+++ b/src/lib/libc/string/wcslen.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: wcslen.c,v 1.3 2005/08/08 08:05:37 espie Exp $ */ 1/* $OpenBSD: wcslen.c,v 1.4 2015/09/12 16:23:14 guenther Exp $ */
2/* $NetBSD: wcslen.c,v 1.2 2001/01/03 14:29:36 lukem Exp $ */ 2/* $NetBSD: wcslen.c,v 1.2 2001/01/03 14:29:36 lukem Exp $ */
3 3
4/*- 4/*-
@@ -42,3 +42,4 @@ wcslen(const wchar_t *s)
42 42
43 return p - s; 43 return p - s;
44} 44}
45DEF_STRONG(wcslen);