tg-libc_getspecific
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Fri, 26 Jan 2018 22:35:29 +0000 (22:35 +0000)
committerAurelien Jarno <aurel32@debian.org>
Fri, 26 Jan 2018 22:35:29 +0000 (22:35 +0000)
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 d6a15ce905309ad8e2519ff1e5dd4516df858740..46e25e436caa88adf0511822074b502147708fca 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;