1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:18:11 +00:00

Kernel: Add implicit auto qualifiers in Syscalls

This commit is contained in:
Hendiadyoin1 2021-12-18 18:37:21 +01:00 committed by Brian Gianforcaro
parent f5b495d92c
commit c860e0ab95
10 changed files with 24 additions and 24 deletions

View file

@ -82,7 +82,7 @@ void Process::sys$exit_thread(Userspace<void*> exit_value, Userspace<void*> stac
this->sys$exit(0);
}
auto current_thread = Thread::current();
auto* current_thread = Thread::current();
current_thread->set_profiling_suppressed();
PerformanceManager::add_thread_exit_event(*current_thread);
@ -120,7 +120,7 @@ ErrorOr<FlatPtr> Process::sys$join_thread(pid_t tid, Userspace<void**> exit_valu
if (!thread || thread->pid() != pid())
return ESRCH;
auto current_thread = Thread::current();
auto* current_thread = Thread::current();
if (thread == current_thread)
return EDEADLK;