From 0e832a9329cc4d4647e1ce529846073f21e66991 Mon Sep 17 00:00:00 2001 From: Kacper Date: Tue, 16 Dec 2025 12:55:34 +0100 Subject: Fix several segv issues and improve x86_64 startup code --- lib/libc/thread/thrd_current.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc/thread') diff --git a/lib/libc/thread/thrd_current.c b/lib/libc/thread/thrd_current.c index 86a814da..69a99723 100644 --- a/lib/libc/thread/thrd_current.c +++ b/lib/libc/thread/thrd_current.c @@ -3,6 +3,6 @@ thrd_t thrd_current(void) { - static _Thread_local struct __thread_self self = { 0 }; + static struct __thread_self self = { 0 }; return &self; } -- cgit v1.2.3