aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc/locale.h
diff options
context:
space:
mode:
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_ */