summaryrefslogtreecommitdiff
path: root/lib/libc/thread/thrd_current.c
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-16 12:55:34 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-16 12:55:34 +0100
commit0e832a9329cc4d4647e1ce529846073f21e66991 (patch)
tree8e73a766ab5f8d8c7d6c35227756f50bc61156d9 /lib/libc/thread/thrd_current.c
parent383b4ca16cfd6d99de7335facad9a9f8eaf43341 (diff)
Fix several segv issues and improve x86_64 startup code
Diffstat (limited to 'lib/libc/thread/thrd_current.c')
-rw-r--r--lib/libc/thread/thrd_current.c2
1 files changed, 1 insertions, 1 deletions
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;
}