about summary refs log tree commit diff
path: root/sysdeps/htl/pthreadP.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-06-16 01:22:43 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-06-16 01:37:42 +0200
commit57e1651557e833744d345deff0cd595b31e621ff (patch)
treeb5ef98de554bd8a2430860f5bc2591893c437f7d /sysdeps/htl/pthreadP.h
parentfaf7bbc2d051f7351af5761e3f84f1c3c8b6479f (diff)
downloadglibc-57e1651557e833744d345deff0cd595b31e621ff.tar.gz
glibc-57e1651557e833744d345deff0cd595b31e621ff.tar.xz
glibc-57e1651557e833744d345deff0cd595b31e621ff.zip
hurd: Avoid PLT ref for __pthread_get_cleanup_stack
	* htl/pt-cleanup.c (___pthread_get_cleanup_stack): Rename to
	__pthread_get_cleanup_stack.
	(__pthread_get_cleanup_stack): Remove alias, add hidden def.
	* htl/pt-exit.c (__pthread_exit): Use __pthread_get_cleanup_stack
	instead of ___pthread_get_cleanup_stack.
	* sysdeps/htl/pthread-functions.h [libpthread]
	(__pthread_get_cleanup_stack): Add hidden proto.
	* sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Remove
	prototype.
Diffstat (limited to 'sysdeps/htl/pthreadP.h')
-rw-r--r--sysdeps/htl/pthreadP.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/htl/pthreadP.h b/sysdeps/htl/pthreadP.h
index 6c9aa6cb75..3fcb811f49 100644
--- a/sysdeps/htl/pthreadP.h
+++ b/sysdeps/htl/pthreadP.h
@@ -64,7 +64,6 @@ int __pthread_attr_setstacksize (pthread_attr_t *__attr, size_t __stacksize);
 int __pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr,
 			     size_t __stacksize);
 int __pthread_attr_getstack (const pthread_attr_t *, void **, size_t *);
-struct __pthread_cancelation_handler **___pthread_get_cleanup_stack (void);
 
 #if IS_IN (libpthread)
 hidden_proto (__pthread_key_create)