diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-10-16 00:59:43 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-10-16 13:50:27 -0400 |
commit | 2085378a4fad15f65686d78f52dc6fb5362bdf20 (patch) | |
tree | 3c38eedb206818de0749ccd4c44d39426bdfb0df /src/stdio | |
parent | b36c37f6fa9692b03bbdeda2b57b2e8a26d8f315 (diff) | |
download | musl-2085378a4fad15f65686d78f52dc6fb5362bdf20.tar.gz musl-2085378a4fad15f65686d78f52dc6fb5362bdf20.tar.bz2 musl-2085378a4fad15f65686d78f52dc6fb5362bdf20.tar.xz musl-2085378a4fad15f65686d78f52dc6fb5362bdf20.zip |
move stdio locking MAYBE_WAITERS definition to stdio_impl.h
don't repeat definition in two places.
Diffstat (limited to 'src/stdio')
-rw-r--r-- | src/stdio/__lockfile.c | 2 | ||||
-rw-r--r-- | src/stdio/ftrylockfile.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/stdio/__lockfile.c b/src/stdio/__lockfile.c index 0dcb2a42..0f60a149 100644 --- a/src/stdio/__lockfile.c +++ b/src/stdio/__lockfile.c @@ -1,8 +1,6 @@ #include "stdio_impl.h" #include "pthread_impl.h" -#define MAYBE_WAITERS 0x40000000 - int __lockfile(FILE *f) { int owner = f->lock, tid = __pthread_self()->tid; diff --git a/src/stdio/ftrylockfile.c b/src/stdio/ftrylockfile.c index 3b97807a..50650585 100644 --- a/src/stdio/ftrylockfile.c +++ b/src/stdio/ftrylockfile.c @@ -2,8 +2,6 @@ #include "pthread_impl.h" #include <limits.h> -#define MAYBE_WAITERS 0x40000000 - void __do_orphaned_stdio_locks() { FILE *f; |