X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fthread%2Fpthread_setcanceltype.c;h=bf0a3f383dd34943c6eb502f50043b4dddcff537;hb=b67d56c7b3b0f84360db749aa6f431a07761d9c8;hp=ce2fff073569085862ae5825a01dc480e16a7659;hpb=a7778dae226fbae335383bc92b6cdfccc5ea9f2e;p=musl diff --git a/src/thread/pthread_setcanceltype.c b/src/thread/pthread_setcanceltype.c index ce2fff07..bf0a3f38 100644 --- a/src/thread/pthread_setcanceltype.c +++ b/src/thread/pthread_setcanceltype.c @@ -2,7 +2,7 @@ int pthread_setcanceltype(int new, int *old) { - struct pthread *self = pthread_self(); + struct pthread *self = __pthread_self(); if (new > 1U) return EINVAL; if (old) *old = self->cancelasync; self->cancelasync = new;