summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibPthread/pthread_cond.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibPthread/pthread_cond.cpp')
-rw-r--r--Userland/Libraries/LibPthread/pthread_cond.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibPthread/pthread_cond.cpp b/Userland/Libraries/LibPthread/pthread_cond.cpp
index f63978c988..5ba15c368e 100644
--- a/Userland/Libraries/LibPthread/pthread_cond.cpp
+++ b/Userland/Libraries/LibPthread/pthread_cond.cpp
@@ -64,7 +64,7 @@ static constexpr u32 NEED_TO_WAKE_ALL = 2;
static constexpr u32 INCREMENT = 4;
// https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_cond_init.html
-int pthread_cond_init(pthread_cond_t* cond, const pthread_condattr_t* attr)
+int pthread_cond_init(pthread_cond_t* cond, pthread_condattr_t const* attr)
{
cond->mutex = nullptr;
cond->value = 0;