about summary refs log tree commit diff
path: root/nptl/pthread_cancel.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-07-22 23:56:53 +0000
committerUlrich Drepper <drepper@redhat.com>2003-07-22 23:56:53 +0000
commit9d79e0377b08773ec4f7ec38479b1563606f7ef7 (patch)
tree31dbc1c0fdb8abb00c75da24a048028225b32c21 /nptl/pthread_cancel.c
parent0e9d624072fd24ee7d113bcf9325e8fb21d2cf60 (diff)
downloadglibc-9d79e0377b08773ec4f7ec38479b1563606f7ef7.tar.gz
glibc-9d79e0377b08773ec4f7ec38479b1563606f7ef7.tar.xz
glibc-9d79e0377b08773ec4f7ec38479b1563606f7ef7.zip
Update.
	* include/stdio.h (__libc_fatal): Add libc_hidden_proto.
	* include/dlfcn.h (__libc_dlopen_mode, __libc_dlsym, __libc_dlclose):
	Likewise.
	* elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym, __libc_dlclose):
	Add libc_hidden_def.
	* sysdeps/generic/libc_fatal.c (__libc_fatal): Likewise.
	* sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
	* sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Likewise.
	* elf/Versions (libc): Export __libc_dlopen_mode@@GLIBC_PRIVATE,
	__libc_dlsym@@GLIBC_PRIVATE and __libc_dlclose@@GLIBC_PRIVATE.
	* libio/Versions (libc): Export __libc_fatal@@GLIBC_PRIVATE.
	* sysdeps/generic/unwind-dw2.c: Readd #ifs removed during last
	change.
	* sysdeps/generic/unwind.inc: Removed.
Diffstat (limited to 'nptl/pthread_cancel.c')
-rw-r--r--nptl/pthread_cancel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nptl/pthread_cancel.c b/nptl/pthread_cancel.c
index 9e3dfda6b3..1523da82aa 100644
--- a/nptl/pthread_cancel.c
+++ b/nptl/pthread_cancel.c
@@ -36,6 +36,9 @@ pthread_cancel (th)
     /* Not a valid thread handle.  */
     return ESRCH;
 
+#ifdef SHARED
+  pthread_cancel_init ();
+#endif
   int result = 0;
   int oldval;
   int newval;