diff options
author | Gunnar Beutner <gbeutner@serenityos.org> | 2021-05-28 09:01:27 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-29 15:53:08 +0200 |
commit | f63f471b878918e87c5df239a55edf036387ab3a (patch) | |
tree | 0c37f5100cef3fa61d415ac0a95f495911bbce65 /Userland/Libraries | |
parent | e67953038081ddb9efe2d3f6ad20612ffab50382 (diff) | |
download | serenity-f63f471b878918e87c5df239a55edf036387ab3a.zip |
LibPthread: Make some variables static
Diffstat (limited to 'Userland/Libraries')
-rw-r--r-- | Userland/Libraries/LibPthread/pthread.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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) |