diff options
Diffstat (limited to 'lib/libc/thread/thrd_current.c')
| -rw-r--r-- | lib/libc/thread/thrd_current.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/thread/thrd_current.c b/lib/libc/thread/thrd_current.c index b588cc27..fd563bb6 100644 --- a/lib/libc/thread/thrd_current.c +++ b/lib/libc/thread/thrd_current.c @@ -1,9 +1,7 @@ -#include <__thread.h> +#include <libc/thread.h> #include <threads.h> -thread_local struct __thread_self __thread_self; - thrd_t thrd_current(void) { - return &__thread_self; + return __libc_thread_self(); } |
