use a_swap rather than old name a_xchg
[oweals/musl.git] / src / thread / pthread_getspecific.c
1 #include "pthread_impl.h"
2
3 void *pthread_getspecific(pthread_key_t k)
4 {
5         struct pthread *self = __pthread_self();
6         return self->tsd[k];
7 }