summaryrefslogtreecommitdiff
path: root/nptl/pthreadP.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-07-03 07:37:59 +0000
committerUlrich Drepper <drepper@redhat.com>2003-07-03 07:37:59 +0000
commit56421b23d7d20f0278ddbe2091cc05a320748e58 (patch)
tree676d2d27aa76460890feeb54e084a1e07b8e6445 /nptl/pthreadP.h
parent64b5b3b12b93b54abc35c400934af3d92839200c (diff)
Update.
2003-07-03 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/librt-cancellation.c (__pthread_unwind): Remove definition. * pthreadP.h (__pthread_unwind): Add hidden_proto if used in libpthread compilation. * unwind.c (__pthread_unwind): Add hidden_def. * Versions (libpthread) [GLIBC_PRIVATE]: Add __pthread_unwind.
Diffstat (limited to 'nptl/pthreadP.h')
-rw-r--r--nptl/pthreadP.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h
index 1c523a873d..e33d828117 100644
--- a/nptl/pthreadP.h
+++ b/nptl/pthreadP.h
@@ -114,6 +114,10 @@ extern void __pthread_unwind (__pthread_unwind_buf_t *__buf)
weak_function
#endif
;
+#if defined NOT_IN_libc && defined IS_IN_libpthread
+hidden_proto (__pthread_unwind)
+#endif
+
/* Called when a thread reacts on a cancellation request. */
static inline void