From 2935e2c8a5870793dfe69fb305f711de05eea06f Mon Sep 17 00:00:00 2001 From: Bananymous Date: Wed, 2 Apr 2025 12:46:43 +0300 Subject: [PATCH] LibC: Make pthread_t pid_t --- userspace/libraries/LibC/include/bits/pthread_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userspace/libraries/LibC/include/bits/pthread_types.h b/userspace/libraries/LibC/include/bits/pthread_types.h index 44242090..e101b2e1 100644 --- a/userspace/libraries/LibC/include/bits/pthread_types.h +++ b/userspace/libraries/LibC/include/bits/pthread_types.h @@ -78,7 +78,7 @@ __BEGIN_DECLS #if !defined(__pthread_t_defined) && (defined(__need_all_types) || defined(__need_pthread_t)) #define __pthread_t_defined 1 - typedef int pthread_t; + typedef pid_t pthread_t; #endif #undef __need_pthread_t