X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fthread%2Fpthread_testcancel.c;h=33238c0f70c5af59e17c40a0537b8bc578b36116;hb=d960d4f2cbf18ff3476c7ac03698ec253885dd8e;hp=c6b250b2ccd6cb1af3a65587b21e229b92e055f8;hpb=feee98903cd8119d9a3db62589246a940f44a9f5;p=musl diff --git a/src/thread/pthread_testcancel.c b/src/thread/pthread_testcancel.c index c6b250b2..33238c0f 100644 --- a/src/thread/pthread_testcancel.c +++ b/src/thread/pthread_testcancel.c @@ -1,6 +1,8 @@ #include "pthread_impl.h" +void __testcancel(void); + void pthread_testcancel() { - if (libc.testcancel) libc.testcancel(); + __testcancel(); }