From 2085378a4fad15f65686d78f52dc6fb5362bdf20 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 16 Oct 2018 00:59:43 -0400 Subject: move stdio locking MAYBE_WAITERS definition to stdio_impl.h don't repeat definition in two places. --- src/stdio/__lockfile.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/stdio/__lockfile.c') 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; -- cgit v1.2.1