From 3cd3de61894b73ca9f62ab9e5b572fc1037dcd55 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 28 Sep 2020 19:30:19 -0400 Subject: move __abort_lock to its own file and drop pointless weak_alias trick the dummy definition of __abort_lock in sigaction.c was performing exactly the same role that putting the lock in its own source file could and should have been used to achieve. while we're moving it, give it a proper declaration. --- src/internal/pthread_impl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/internal') diff --git a/src/internal/pthread_impl.h b/src/internal/pthread_impl.h index 358ad1ce..10e29881 100644 --- a/src/internal/pthread_impl.h +++ b/src/internal/pthread_impl.h @@ -196,6 +196,8 @@ hidden void __tl_sync(pthread_t); extern hidden volatile int __thread_list_lock; +extern hidden volatile int __abort_lock[1]; + extern hidden unsigned __default_stacksize; extern hidden unsigned __default_guardsize; -- cgit v1.2.1