move __abort_lock to its own file and drop pointless weak_alias trick
authorRich Felker <dalias@aerifal.cx>
Mon, 28 Sep 2020 23:30:19 +0000 (19:30 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 15 Oct 2020 00:27:12 +0000 (20:27 -0400)
commit3cd3de61894b73ca9f62ab9e5b572fc1037dcd55
treec3719ceb01061cb31500b7e64ea51717a32219c4
parent34904d830a9fd1f6fc47218f38c111698303d2fe
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/exit/abort.c
src/exit/abort_lock.c [new file with mode: 0644]
src/internal/pthread_impl.h
src/signal/sigaction.c