1
0
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:
Ulrich Drepper
2009-05-16 15:04:27 -07:00
parent cba0ca7925
commit e20c4ef0ef
4 changed files with 35 additions and 11 deletions

View File

@ -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);
}