summaryrefslogtreecommitdiff
path: root/src/nonstd/__libc_per_thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nonstd/__libc_per_thread.c')
-rw-r--r--src/nonstd/__libc_per_thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nonstd/__libc_per_thread.c b/src/nonstd/__libc_per_thread.c
index 5cc2f2a5..15156c6e 100644
--- a/src/nonstd/__libc_per_thread.c
+++ b/src/nonstd/__libc_per_thread.c
@@ -11,7 +11,7 @@
void *__libc_per_thread(LIBC_INTERNAL variable)
{
THREAD_LOCAL int errno;
- THREAD_LOCAL struct __locale_t *locale;
+ THREAD_LOCAL struct __locale_t locale;
switch (variable) {
case ERRNO: