aboutsummaryrefslogtreecommitdiff
path: root/include/locale.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/locale.h')
-rw-r--r--include/locale.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/locale.h b/include/locale.h
index 22770b9ad2..5226001929 100644
--- a/include/locale.h
+++ b/include/locale.h
@@ -11,7 +11,8 @@ libc_hidden_proto (setlocale)
extern struct loaded_l10nfile *_nl_locale_file_list[] attribute_hidden;
/* Locale object for C locale. */
-extern struct __locale_struct _nl_C_locobj attribute_hidden;
+extern const struct __locale_struct _nl_C_locobj attribute_hidden;
+#define _nl_C_locobj_ptr ((struct __locale_struct *) &_nl_C_locobj)
/* Now define the internal interfaces. */
extern struct lconv *__localeconv (void);