aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc/locale.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-09-26 20:40:19 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-09-26 20:40:19 -0700
commit5f5c99ded3fc10bcdc513e0ff78d0e71c67ccdba (patch)
tree306874d826dca1013c718c260f76ba92ccede730 /system/include/libc/locale.h
parent57c012482aed42154a0cad98c7b3a65363f4d276 (diff)
header surgery
Diffstat (limited to 'system/include/libc/locale.h')
-rw-r--r--system/include/libc/locale.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/include/libc/locale.h b/system/include/libc/locale.h
index fa5c270f..532faaa5 100644
--- a/system/include/libc/locale.h
+++ b/system/include/libc/locale.h
@@ -60,6 +60,12 @@ struct _reent;
char *_EXFUN(_setlocale_r,(struct _reent *, int category, const char *locale));
struct lconv *_EXFUN(_localeconv_r,(struct _reent *));
+/* XXX Emscripten */
+typedef void* locale_t;
+locale_t newlocale(int category_mask, const char *locale, locale_t base);
+void freelocale(locale_t locobj);
+locale_t uselocale(locale_t newloc);
+
_END_STD_C
#endif /* _LOCALE_H_ */