summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-01-18 22:59:41 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-01-18 22:59:41 +0000
commit3456bcaecd3d83d69c4ac28c827dddef15534592 (patch)
treea9080ce05ee876e27e11026082861448d3ebcf21 /libc/sysdeps/linux
parent3392f8b6d6f3964433b55a94cc01673b2dd1dd65 (diff)
__global_locale must be visible to users, move it outside of #ifdef _LIBC
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/common/bits/uClibc_locale.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/bits/uClibc_locale.h b/libc/sysdeps/linux/common/bits/uClibc_locale.h
index ad80d8f83..39ed97959 100644
--- a/libc/sysdeps/linux/common/bits/uClibc_locale.h
+++ b/libc/sysdeps/linux/common/bits/uClibc_locale.h
@@ -314,10 +314,11 @@ typedef struct __uclibc_locale_struct {
} __uclibc_locale_t;
extern __uclibc_locale_t __global_locale_data;
-extern struct __uclibc_locale_struct * __global_locale;
#endif /* !__UCLIBC_GEN_LOCALE */
#endif /* _LIBC */
+extern struct __uclibc_locale_struct * __global_locale;
+
typedef struct __uclibc_locale_struct *__locale_t;
/* if we need to leave only _LIBC, then attribute_hidden is not usable */