about summary refs log tree commit diff stats
path: root/src/libtools
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-09-12 14:01:53 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-09-12 14:01:53 +0200
commit1a637cb1d8cbc952df67411369ed28bb0a4b99cf (patch)
treeab80202f580decf6664e3f89ba6c04a52bc1d0a5 /src/libtools
parent0d952641ede643d94a79dacbddadc518546a210f (diff)
downloadbox64-1a637cb1d8cbc952df67411369ed28bb0a4b99cf.tar.gz
box64-1a637cb1d8cbc952df67411369ed28bb0a4b99cf.zip
Fixed a typo
Diffstat (limited to 'src/libtools')
-rw-r--r--src/libtools/static_threads.h2
-rw-r--r--src/libtools/threads.c2
2 files changed, 2 insertions, 2 deletions
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);
 }