summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-02-28 20:31:52 -0500
committerJakob Kaivo <jkk@ung.org>2019-02-28 20:31:52 -0500
commit6fe00c1270db85302b6a9aa119c43782a6f4e271 (patch)
treee89b78d742d3bc0ec6f9cf11e1b22f2a3384c781 /src
parenta1db5cd0412169ffd98f44feca8a4ba7a9a201ea (diff)
locale is an object, not a pointer
Diffstat (limited to 'src')
-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: