aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-02-02 16:23:37 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-02-02 16:23:37 -0800
commit74b319a0a4a15df260b640aabb34e18caa356450 (patch)
tree531a160c6f28f4b88b22662ad0986f4dbbe070a5 /system
parentd1155beddaf5d755ee8deff80fbd787a3d09cfb3 (diff)
fix xlocale.h header
Diffstat (limited to 'system')
-rw-r--r--system/include/xlocale.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/system/include/xlocale.h b/system/include/xlocale.h
index 1162f9b0..bb3b50e5 100644
--- a/system/include/xlocale.h
+++ b/system/include/xlocale.h
@@ -5,6 +5,10 @@
#include <string.h>
#include <locale.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
long long strtoll_l(const char *start, char **end, int base, locale_t loc);
unsigned long long strtoull_l(const char *start, char **end, int base, locale_t loc);
double strtold_l(const char *start, char **end, locale_t loc);
@@ -35,5 +39,9 @@ int towlower_l(wint_t wc, locale_t locale);
size_t strftime_l(char *s, size_t maxsize, const char *format, const struct tm *timeptr, locale_t locale);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _LOCALE_H_ */