summaryrefslogtreecommitdiff
path: root/libc/string/strlcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/strlcpy.c')
-rw-r--r--libc/string/strlcpy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/strlcpy.c b/libc/string/strlcpy.c
index 2f3d29fff..a622d0c00 100644
--- a/libc/string/strlcpy.c
+++ b/libc/string/strlcpy.c
@@ -11,6 +11,7 @@
# define Wstrlcpy __wcslcpy
# define Wstrxfrm wcsxfrm
#else
+libc_hidden_proto(strlcpy)
# define Wstrlcpy strlcpy
# define Wstrxfrm strxfrm
#endif
@@ -47,7 +48,6 @@ size_t Wstrlcpy(register Wchar *__restrict dst,
return src - src0;
}
#ifndef WANT_WIDE
-libc_hidden_proto(strlcpy)
libc_hidden_def(strlcpy)
#ifndef __UCLIBC_HAS_LOCALE__
strong_alias(strlcpy,strxfrm)