From 0ecb606cb6cf65de1d9fc8a919bceb4be476c602 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 12 Jul 2007 18:26:36 +0000 Subject: 2.5-18.1 --- include/locale.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/locale.h') 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); -- cgit v1.2.3