summaryrefslogtreecommitdiff
path: root/Libraries/LibC/sys
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-12-07 14:42:10 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-12-07 14:52:27 +0100
commit9ddfe694f2cc783493092227f7b300e5a1e73c07 (patch)
tree7fb550b4b50be4c1df263e1d8edea14ab118b6d8 /Libraries/LibC/sys
parenteaab7f567216891fa0eb8b1960888b603d5f973b (diff)
downloadserenity-9ddfe694f2cc783493092227f7b300e5a1e73c07.zip
LibPthread: Implement pthread_mutexattr_init() and _destroy()
Diffstat (limited to 'Libraries/LibC/sys')
-rw-r--r--Libraries/LibC/sys/types.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Libraries/LibC/sys/types.h b/Libraries/LibC/sys/types.h
index 45c376dc01..2066f23dfc 100644
--- a/Libraries/LibC/sys/types.h
+++ b/Libraries/LibC/sys/types.h
@@ -65,7 +65,9 @@ typedef void* pthread_key_t;
typedef void* pthread_once_t;
typedef uint32_t pthread_mutex_t;
typedef void* pthread_attr_t;
-typedef void* pthread_mutexattr_t;
+typedef struct __pthread_mutexattr_t {
+ int type;
+} pthread_mutexattr_t;
typedef struct __pthread_cond_t {
void* storage;