diff options
Diffstat (limited to 'libc/include')
-rw-r--r-- | libc/include/pthread.h | 2 | ||||
-rw-r--r-- | libc/include/sys/types.h | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/libc/include/pthread.h b/libc/include/pthread.h index 3f59b91..7b8de81 100644 --- a/libc/include/pthread.h +++ b/libc/include/pthread.h @@ -91,7 +91,7 @@ typedef struct { typedef long pthread_mutexattr_t; typedef long pthread_condattr_t; -typedef int pthread_rwlockattr_t; +typedef long pthread_rwlockattr_t; typedef struct { pthread_mutex_t lock; diff --git a/libc/include/sys/types.h b/libc/include/sys/types.h index dc847d2..9a76ad2 100644 --- a/libc/include/sys/types.h +++ b/libc/include/sys/types.h @@ -63,7 +63,7 @@ typedef __mode_t mode_t; typedef __kernel_key_t __key_t; typedef __key_t key_t; -typedef uint32_t __ino_t; +typedef __kernel_ino_t __ino_t; typedef __ino_t ino_t; typedef uint32_t __nlink_t; @@ -72,9 +72,10 @@ typedef __nlink_t nlink_t; typedef void* __timer_t; typedef __timer_t timer_t; -typedef int32_t __suseconds_t; +typedef __kernel_suseconds_t __suseconds_t; typedef __suseconds_t suseconds_t; +/* useconds_t is 32-bit on both LP32 and LP64. */ typedef uint32_t __useconds_t; typedef __useconds_t useconds_t; |