remove unused __futex function and source file

the direct syscall or various thin and mostly-inline wrappers around
it are used instead internally. at some point a public futex function
should be added, but it's not yet clear what the signature should be,
and in the mean time this file is not useful.
This commit is contained in:
Rich Felker committed 2018-09-12 14:34:36 -04:00
1 parent a60d579f5e
commit 055dfbb7f7
2 files changed
-9

No files matched your search

-2
View File
@@ -16,6 +16,4 @@
#define FUTEX_CLOCK_REALTIME 256
int __futex(volatile int *, int, int, void *);
#endif
-7
View File
@@ -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);
}