1#include "pthread_impl.h" 2#include <threads.h> 3 4static void *__pthread_getspecific(pthread_key_t k) 5{ 6 struct pthread *self = __pthread_self(); 7 return self->tsd[k]; 8} 9 10weak_alias(__pthread_getspecific, pthread_getspecific); 11weak_alias(__pthread_getspecific, tss_get); 12