From d08061103dd4158a1f6e8c8c278136a25e8f8400 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 7 Dec 2019 14:27:02 +0100 Subject: [PATCH] LibPthread: Implement pthread_mutex_destroy() --- Libraries/LibPthread/pthread.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Libraries/LibPthread/pthread.cpp b/Libraries/LibPthread/pthread.cpp index 16416293e4..878e4ac4de 100644 --- a/Libraries/LibPthread/pthread.cpp +++ b/Libraries/LibPthread/pthread.cpp @@ -90,6 +90,11 @@ int pthread_mutex_init(pthread_mutex_t* mutex, const pthread_mutexattr_t* attrib return 0; } +int pthread_mutex_destroy(pthread_mutex_t*) +{ + return 0; +} + int pthread_mutex_lock(pthread_mutex_t* mutex) { auto* atomic = reinterpret_cast*>(mutex);