about summary refs log tree commit diff
path: root/nptl/libc-cancellation.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-05-16 15:04:27 -0700
committerUlrich Drepper <drepper@redhat.com>2009-05-16 15:04:27 -0700
commite20c4ef0ef9075f80ca560f6bdd5ed3229673067 (patch)
treee65ae23eb85f3926f2e2e4652381f6e83cd2a623 /nptl/libc-cancellation.c
parentcba0ca7925f8e324e8af9f88187b3473363853a1 (diff)
downloadglibc-e20c4ef0ef9075f80ca560f6bdd5ed3229673067.tar.gz
glibc-e20c4ef0ef9075f80ca560f6bdd5ed3229673067.tar.xz
glibc-e20c4ef0ef9075f80ca560f6bdd5ed3229673067.zip
libc-cancellation.c cleanup.
The unrelated function __libc_cleanup_routine should not be in
this file.  Move it into its own file.
Diffstat (limited to 'nptl/libc-cancellation.c')
-rw-r--r--nptl/libc-cancellation.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/nptl/libc-cancellation.c b/nptl/libc-cancellation.c
index 432e1f8b6a..308be382d1 100644
--- a/nptl/libc-cancellation.c
+++ b/nptl/libc-cancellation.c
@@ -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);
-}