mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
libc-cancellation.c cleanup.
The unrelated function __libc_cleanup_routine should not be in this file. Move it into its own file.
This commit is contained in:
@ -23,11 +23,3 @@
|
||||
#define __pthread_enable_asynccancel __libc_enable_asynccancel
|
||||
#define __pthread_disable_asynccancel __libc_disable_asynccancel
|
||||
#include <nptl/cancellation.c>
|
||||
|
||||
|
||||
void
|
||||
__libc_cleanup_routine (struct __pthread_cleanup_frame *f)
|
||||
{
|
||||
if (f->__do_it)
|
||||
f->__cancel_routine (f->__cancel_arg);
|
||||
}
|
||||
|
Reference in New Issue
Block a user