summaryrefslogtreecommitdiffstats
path: root/newlib/libc/locale/lmessages.h
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/locale/lmessages.h')
-rw-r--r--newlib/libc/locale/lmessages.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/newlib/libc/locale/lmessages.h b/newlib/libc/locale/lmessages.h
index ee690ae7c..b1e14b7c9 100644
--- a/newlib/libc/locale/lmessages.h
+++ b/newlib/libc/locale/lmessages.h
@@ -29,6 +29,10 @@
#ifndef _LMESSAGES_H_
#define _LMESSAGES_H_
+#include <sys/cdefs.h>
+
+__BEGIN_DECLS
+
struct lc_messages_T {
const char *yesexpr;
const char *noexpr;
@@ -37,6 +41,8 @@ struct lc_messages_T {
};
struct lc_messages_T *__get_current_messages_locale(void);
-int __messages_load_locale(const char *);
+int __numeric_load_locale(const char *, void *, const char *);
+
+__END_DECLS
#endif /* !_LMESSAGES_H_ */