summaryrefslogtreecommitdiff
path: root/libc/string/strlcpy.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-26 22:04:19 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-26 22:04:19 +0000
commit05e75260d6952308d7c865ff67c0e3678b7ba935 (patch)
treeac1a5d0ab7904783917b52ffa5489e8367743ff7 /libc/string/strlcpy.c
parent2fec342738cefe71910e8e8ab8636accfc5867bc (diff)
Get rid of missing prototype warnings
Diffstat (limited to 'libc/string/strlcpy.c')
-rw-r--r--libc/string/strlcpy.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/string/strlcpy.c b/libc/string/strlcpy.c
index e4f4c3152..e888b85b2 100644
--- a/libc/string/strlcpy.c
+++ b/libc/string/strlcpy.c
@@ -22,7 +22,9 @@ libc_hidden_proto(strlcpy)
* Returns strlen(src), so truncation occurred if the return value is >= n. */
#ifdef WANT_WIDE
-attribute_hidden
+size_t Wstrlcpy(register Wchar *__restrict dst,
+ register const Wchar *__restrict src,
+ size_t n) attribute_hidden;
#endif
size_t Wstrlcpy(register Wchar *__restrict dst,
register const Wchar *__restrict src,