Threads: Mark default handler functions as static

These aren't used outside of the translation unit.
This commit is contained in:
Lioncache committed 2025-09-03 11:01:12 -04:00
1 parent dd735464a2
commit abc37ec35e
1 file changed
+2 -2
+2 -2
View File
@@ -12,11 +12,11 @@
#endif
namespace FEXCore::Threads {
fextl::unique_ptr<FEXCore::Threads::Thread> CreateThread_Default(ThreadFunc Func, void* Arg) {
static fextl::unique_ptr<FEXCore::Threads::Thread> CreateThread_Default(ThreadFunc Func, void* Arg) {
ERROR_AND_DIE_FMT("Frontend didn't setup thread creation!");
}
void CleanupAfterFork_Default() {
static void CleanupAfterFork_Default() {
ERROR_AND_DIE_FMT("Frontend didn't setup thread creation!");
}