diff --git a/src/internal/futex.h b/src/internal/futex.h index cf4c79513e240777b2a2335e604e41814206db26..dafbc24dbdb9c80d82ce1c18604602835e43fab9 100644 --- a/src/internal/futex.h +++ b/src/internal/futex.h @@ -16,6 +16,4 @@ #define FUTEX_CLOCK_REALTIME 256 -int __futex(volatile int *, int, int, void *); - #endif diff --git a/src/thread/__futex.c b/src/thread/__futex.c deleted file mode 100644 index 96307c0888ed486617e18d1da2c4730f9714baf6..0000000000000000000000000000000000000000 --- a/src/thread/__futex.c +++ /dev/null @@ -1,7 +0,0 @@ -#include "futex.h" -#include "syscall.h" - -int __futex(volatile int *addr, int op, int val, void *ts) -{ - return syscall(SYS_futex, addr, op, val, ts); -}