From 6fe00c1270db85302b6a9aa119c43782a6f4e271 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Thu, 28 Feb 2019 20:31:52 -0500 Subject: locale is an object, not a pointer --- src/nonstd/__libc_per_thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nonstd/__libc_per_thread.c') 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: -- cgit v1.2.1