summaryrefslogtreecommitdiff
path: root/libc/string/wcsnlen.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-14 22:59:08 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-14 22:59:08 +0000
commit76cad786c8cd778a890ceb936b301d63d64093e4 (patch)
tree9dcf709702c03d4d8de0f7fbef1dbeb17cfdc9e7 /libc/string/wcsnlen.c
parentf8703c6453b64fd74354a0851f6fb05795c31956 (diff)
Split up wstring.c and use attribute_hidden
Diffstat (limited to 'libc/string/wcsnlen.c')
-rw-r--r--libc/string/wcsnlen.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/libc/string/wcsnlen.c b/libc/string/wcsnlen.c
new file mode 100644
index 000000000..e991586ed
--- /dev/null
+++ b/libc/string/wcsnlen.c
@@ -0,0 +1,15 @@
+/*
+ * Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_strnlen
+#define WANT_WIDE
+#define Wstrnlen __wcsnlen
+
+#include "wstring.c"
+
+strong_alias(__wcsnlen, wcsnlen)
+
+#undef L_strnlen