diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-09-11 15:03:23 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-09-12 14:34:36 -0400 |
commit | 055dfbb7f71a67151898a8c4bf82ba930ba35a11 (patch) | |
tree | aedb604be627cf7d31150cfa1bae7f15b3f03bc4 | |
parent | a60d579f5edf3d2e6cc8b5e5f33cbf34bd8914c9 (diff) | |
download | musl-055dfbb7f71a67151898a8c4bf82ba930ba35a11.tar.gz musl-055dfbb7f71a67151898a8c4bf82ba930ba35a11.tar.bz2 musl-055dfbb7f71a67151898a8c4bf82ba930ba35a11.tar.xz musl-055dfbb7f71a67151898a8c4bf82ba930ba35a11.zip |
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.
-rw-r--r-- | src/internal/futex.h | 2 | ||||
-rw-r--r-- | src/thread/__futex.c | 7 |
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); -} |