about summary refs log tree commit diff
path: root/nptl/pthreadP.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-03-01 15:56:36 +0100
committerFlorian Weimer <fweimer@redhat.com>2021-03-01 16:00:22 +0100
commit97e42bd482b62d7b74889be11c98b0bbb4059dcd (patch)
tree374b3d1c4ab7dc13601bf1af77463aeefd5b73b9 /nptl/pthreadP.h
parent6b7efa3d8703cfd020281706f8110bc4a41b1525 (diff)
downloadglibc-97e42bd482b62d7b74889be11c98b0bbb4059dcd.tar.gz
glibc-97e42bd482b62d7b74889be11c98b0bbb4059dcd.tar.xz
glibc-97e42bd482b62d7b74889be11c98b0bbb4059dcd.zip
nptl: Use <unwind-link.h> for accessing the libgcc_s unwinder
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'nptl/pthreadP.h')
-rw-r--r--nptl/pthreadP.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h
index d078128230..d2fd0826fe 100644
--- a/nptl/pthreadP.h
+++ b/nptl/pthreadP.h
@@ -287,9 +287,11 @@ hidden_proto (__pthread_unwind_next)
 hidden_proto (__pthread_register_cancel)
 hidden_proto (__pthread_unregister_cancel)
 # ifdef SHARED
-extern void attribute_hidden pthread_cancel_init (void);
+/* The difference from __libc_unwind_link_get is that here, errors
+   terminate the process.  */
+struct unwind_link ;
+struct unwind_link *__pthread_unwind_link_get (void) attribute_hidden;
 # endif
-extern void __nptl_unwind_freeres (void) attribute_hidden;
 #endif