diff options
| author | Jakob Kaivo <jkk@ung.org> | 2019-02-28 20:31:52 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2019-02-28 20:31:52 -0500 |
| commit | 6fe00c1270db85302b6a9aa119c43782a6f4e271 (patch) | |
| tree | e89b78d742d3bc0ec6f9cf11e1b22f2a3384c781 | |
| parent | a1db5cd0412169ffd98f44feca8a4ba7a9a201ea (diff) | |
locale is an object, not a pointer
| -rw-r--r-- | src/nonstd/__libc_per_thread.c | 2 |
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: |
