diff options
Diffstat (limited to 'src/thread/pthread_getspecific.c')
-rw-r--r-- | src/thread/pthread_getspecific.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/thread/pthread_getspecific.c b/src/thread/pthread_getspecific.c index b2a282c6..d3d09fa2 100644 --- a/src/thread/pthread_getspecific.c +++ b/src/thread/pthread_getspecific.c @@ -1,7 +1,9 @@ #include "pthread_impl.h" -void *pthread_getspecific(pthread_key_t k) +static void *__pthread_getspecific(pthread_key_t k) { struct pthread *self = __pthread_self(); return self->tsd[k]; } + +weak_alias(__pthread_getspecific, pthread_getspecific); |