diff --git a/Userland/Libraries/LibPthread/pthread.cpp b/Userland/Libraries/LibPthread/pthread.cpp index 90ec6294cf..d265d93046 100644 --- a/Userland/Libraries/LibPthread/pthread.cpp +++ b/Userland/Libraries/LibPthread/pthread.cpp @@ -29,9 +29,9 @@ using PthreadAttrImpl = Syscall::SC_create_thread_params; } // end anonymous namespace -constexpr size_t required_stack_alignment = 4 * MiB; -constexpr size_t highest_reasonable_guard_size = 32 * PAGE_SIZE; -constexpr size_t highest_reasonable_stack_size = 8 * MiB; // That's the default in Ubuntu? +static constexpr size_t required_stack_alignment = 4 * MiB; +static constexpr size_t highest_reasonable_guard_size = 32 * PAGE_SIZE; +static constexpr size_t highest_reasonable_stack_size = 8 * MiB; // That's the default in Ubuntu? #define __RETURN_PTHREAD_ERROR(rc) \ return ((rc) < 0 ? -(rc) : 0)