From 3456bcaecd3d83d69c4ac28c827dddef15534592 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 18 Jan 2009 22:59:41 +0000 Subject: __global_locale must be visible to users, move it outside of #ifdef _LIBC --- libc/sysdeps/linux/common/bits/uClibc_locale.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libc/sysdeps') 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 */ -- cgit v1.2.3