summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-09 21:30:53 +0100
committerPeter S. Mazinger <ps.m@gmx.net>2011-03-09 21:30:53 +0100
commit1350fdff4b950d42771d6ea7b246e2d269e2bd72 (patch)
tree35a3a5645f4164eefb67a8083e994f51331a200a /include
parentf4ec824864b8ea68af8953669f789656cc05143d (diff)
wchar.h, _collate.c, strlcpy.c: use a common prototype of __wcslcpy
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Diffstat (limited to 'include')
-rw-r--r--include/wchar.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/wchar.h b/include/wchar.h
index ddbb55912..0603089f1 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -783,6 +783,11 @@ libc_hidden_proto(wcsftime_l)
# include <wctype.h>
#endif
+#ifdef _LIBC
+extern size_t __wcslcpy(wchar_t *__restrict dst,
+ const wchar_t *__restrict src, size_t n) attribute_hidden;
+#endif
+
__END_DECLS
#endif /* _WCHAR_H defined */