tg-libc_getspecific
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Mon, 16 Jul 2018 20:23:13 +0000 (21:23 +0100)
committerAurelien Jarno <aurel32@debian.org>
Mon, 16 Jul 2018 20:23:13 +0000 (21:23 +0100)
Drop once updated to a libpthread which doesn't define __libc_getspecific

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-libc_getspecific.diff

sysdeps/mach/hurd/cthreads.c

index 2d616422aeb89a2e7a0685f5d45fe6cf4b55bae7..51916856d7514293da9dea5c9b014142fa1e4931 100644 (file)
@@ -53,6 +53,7 @@ cthread_setspecific (cthread_key_t key, void *val)
 /* Call cthread_getspecific which gets a pointer to the return value instead
    of just returning it.  */
 void *
+weak_function
 __libc_getspecific (cthread_key_t key)
 {
   void *val;