summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/btowc.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2015-09-12 16:23:14 +0000
committerguenther <guenther@openbsd.org>2015-09-12 16:23:14 +0000
commit38a75b98f3fd53b60cfeaff8ed9b08fd7afaad1c (patch)
tree8b99daf217719f1c27cb0c1e00e3a53852fc2809 /lib/libc/locale/btowc.c
parentsys/syscall_mi is only included by MD trap.c files, which have reason to (diff)
downloadwireguard-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/btowc.c')
-rw-r--r--lib/libc/locale/btowc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/locale/btowc.c b/lib/libc/locale/btowc.c
index 96273401ea2..455b3468f22 100644
--- a/lib/libc/locale/btowc.c
+++ b/lib/libc/locale/btowc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: btowc.c,v 1.2 2012/12/05 23:20:00 deraadt Exp $ */
+/* $OpenBSD: btowc.c,v 1.3 2015/09/12 16:23:14 guenther Exp $ */
/*-
* Copyright (c) 2002, 2003 Tim J. Robbins.
@@ -50,3 +50,4 @@ btowc(int c)
return (WEOF);
return (wc);
}
+DEF_STRONG(btowc);