diff --git a/headers/private/libroot/user_thread.h b/headers/private/libroot/user_thread.h index 5c234fe6eb..3f1a21083a 100644 --- a/headers/private/libroot/user_thread.h +++ b/headers/private/libroot/user_thread.h @@ -12,10 +12,10 @@ #include -static inline user_thread* +static inline struct user_thread* get_user_thread() { - return (user_thread*)tls_get(TLS_USER_THREAD_SLOT); + return (struct user_thread*)tls_get(TLS_USER_THREAD_SLOT); } @@ -29,7 +29,7 @@ defer_signals() static void inline undefer_signals() { - user_thread* thread = get_user_thread(); + struct user_thread* thread = get_user_thread(); if (--thread->defer_signals == 0 && thread->pending_signals != 0) { // signals shall no longer be deferred -- call a dummy syscall to handle // the pending ones