summaryrefslogtreecommitdiff
path: root/libc/misc/wchar/wchar.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-11-21 08:15:19 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-11-21 08:15:19 +0000
commit3e8067a62725780222fa90f2945f1d5599a5cdd6 (patch)
tree4520c861bbe1b914339cd8fbc5071c8ceb2d5b95 /libc/misc/wchar/wchar.c
parentcb97aadebfeba7f5e8f1b85beee5ab10e88c2990 (diff)
deal with TODOs left over from libc_hidden_proto removal
(fixes build with locale enabled)
Diffstat (limited to 'libc/misc/wchar/wchar.c')
-rw-r--r--libc/misc/wchar/wchar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/misc/wchar/wchar.c b/libc/misc/wchar/wchar.c
index 9a0ceb293..86b056000 100644
--- a/libc/misc/wchar/wchar.c
+++ b/libc/misc/wchar/wchar.c
@@ -1238,10 +1238,10 @@ enum {
*
*/
-//vda:TODO: make hidden
-
+/* Used externally only by iconv utility */
extern const unsigned char __iconv_codesets[];
-/* libc_hidden_proto(__iconv_codesets) */
+libc_hidden_proto(__iconv_codesets)
+
const unsigned char __iconv_codesets[] =
"\x0a\xe0""WCHAR_T\x00" /* superset of UCS-4 but platform-endian */
#if __BYTE_ORDER == __BIG_ENDIAN