From 11a3906243ed905ca6b42597a9bb43fe14c2419d Mon Sep 17 00:00:00 2001 From: georgemoralis Date: Sat, 22 Jun 2024 18:12:04 +0300 Subject: [PATCH] clang fix --- src/core/libraries/kernel/thread_management.cpp | 2 +- src/core/module.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/core/libraries/kernel/thread_management.cpp b/src/core/libraries/kernel/thread_management.cpp index d3056315..3aba1f78 100644 --- a/src/core/libraries/kernel/thread_management.cpp +++ b/src/core/libraries/kernel/thread_management.cpp @@ -1276,7 +1276,7 @@ int PS4_SYSV_ABI scePthreadOnce(int* once_control, void (*init_routine)(void)) { return pthread_once(reinterpret_cast(once_control), init_routine); } -[[noreturn]] void PS4_SYSV_ABI scePthreadExit(void *value_ptr) { +[[noreturn]] void PS4_SYSV_ABI scePthreadExit(void* value_ptr) { pthread_exit(value_ptr); } diff --git a/src/core/module.cpp b/src/core/module.cpp index 3b7bdf1f..1353637e 100644 --- a/src/core/module.cpp +++ b/src/core/module.cpp @@ -55,8 +55,7 @@ static std::string EncodeId(u64 nVal) { return enc; } -Module::Module(Core::MemoryManager* memory_, - const std::filesystem::path& file_, u32& max_tls_index) +Module::Module(Core::MemoryManager* memory_, const std::filesystem::path& file_, u32& max_tls_index) : memory{memory_}, file{file_}, name{file.stem().string()} { elf.Open(file); if (elf.IsElfFile()) {