summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/internal/futex.h2
-rw-r--r--src/thread/__futex.c7
2 files changed, 0 insertions, 9 deletions
diff --git a/src/internal/futex.h b/src/internal/futex.h
index cf4c7951..dafbc24d 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 96307c08..00000000
--- 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);
-}