summaryrefslogtreecommitdiff
path: root/Libraries/LibPthread/pthread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibPthread/pthread.cpp')
-rw-r--r--Libraries/LibPthread/pthread.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Libraries/LibPthread/pthread.cpp b/Libraries/LibPthread/pthread.cpp
index 218c175039..4c69f7b6aa 100644
--- a/Libraries/LibPthread/pthread.cpp
+++ b/Libraries/LibPthread/pthread.cpp
@@ -83,8 +83,7 @@ static int create_thread(void* (*entry)(void*), void* argument, PthreadAttrImpl*
return syscall(SC_create_thread, pthread_create_helper, thread_params);
}
-[[noreturn]]
-static void exit_thread(void* code)
+[[noreturn]] static void exit_thread(void* code)
{
syscall(SC_exit_thread, code);
ASSERT_NOT_REACHED();