From 1a637cb1d8cbc952df67411369ed28bb0a4b99cf Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Thu, 12 Sep 2024 14:01:53 +0200 Subject: Fixed a typo --- src/libtools/static_threads.h | 2 +- src/libtools/threads.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libtools') diff --git a/src/libtools/static_threads.h b/src/libtools/static_threads.h index 2c090924..976a5189 100644 --- a/src/libtools/static_threads.h +++ b/src/libtools/static_threads.h @@ -93,7 +93,7 @@ int my_pthread_cond_signal_old(x64emu_t* emu, pthread_cond_old_t* cond); int my_pthread_cond_timedwait_old(x64emu_t* emu, pthread_cond_old_t* cond, void* mutex, void* abstime); int my_pthread_cond_wait_old(x64emu_t* emu, pthread_cond_old_t* cond, void* mutex); int my_pthread_getaffinity_np_old(x64emu_t* emu, pthread_t thread, void* cpuset); -int my_my_pthread_setaffinity_np_old(x64emu_t* emu, pthread_t thread, void* cpuset); +int my_pthread_setaffinity_np_old(x64emu_t* emu, pthread_t thread, void* cpuset); extern int __pthread_mutexattr_destroy(pthread_mutexattr_t *attr); diff --git a/src/libtools/threads.c b/src/libtools/threads.c index 47eae9d4..f0632154 100644 --- a/src/libtools/threads.c +++ b/src/libtools/threads.c @@ -799,7 +799,7 @@ EXPORT int my_pthread_setaffinity_np(x64emu_t* emu, pthread_t thread, size_t cpu return ret; } -EXPORT int my_my_pthread_setaffinity_np_old(x64emu_t* emu, pthread_t thread, void* cpuset) +EXPORT int my_pthread_setaffinity_np_old(x64emu_t* emu, pthread_t thread, void* cpuset) { return my_pthread_setaffinity_np(emu, thread, 128, cpuset); } -- cgit 1.4.1