diff options
Diffstat (limited to 'src/libtools')
| -rw-r--r-- | src/libtools/threads.c | 5 | ||||
| -rwxr-xr-x | src/libtools/threads32.c | 3 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/libtools/threads.c b/src/libtools/threads.c index 02ada9ca..dfe92ab0 100644 --- a/src/libtools/threads.c +++ b/src/libtools/threads.c @@ -7,8 +7,6 @@ #include <signal.h> #include <errno.h> #include <setjmp.h> -#include <sys/mman.h> -#include <dlfcn.h> #include "os.h" #include "debug.h" @@ -67,9 +65,6 @@ typedef struct x64_unwind_buff_s { typedef void(*vFv_t)(); KHASH_MAP_INIT_INT64(threadstack, threadstack_t*) -#ifndef ANDROID -KHASH_MAP_INIT_INT64(cancelthread, __pthread_unwind_buf_t*) -#endif void CleanStackSize(box64context_t* context) { diff --git a/src/libtools/threads32.c b/src/libtools/threads32.c index 87187b24..c72deca7 100755 --- a/src/libtools/threads32.c +++ b/src/libtools/threads32.c @@ -90,9 +90,6 @@ static void del_attr(void* attr); typedef void(*vFv_t)(); KHASH_MAP_INIT_INT(threadstack, threadstack_t) -#ifndef ANDROID -KHASH_MAP_INIT_INT(cancelthread, __pthread_unwind_buf_t*) -#endif void CleanStackSize(box64context_t* context); void FreeStackSize(uintptr_t attr); |