X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fthread%2Fpthread_testcancel.c;h=33238c0f70c5af59e17c40a0537b8bc578b36116;hp=c6b250b2ccd6cb1af3a65587b21e229b92e055f8;hb=98acf04fc00cbded6169056f2cd541d31725c091;hpb=feee98903cd8119d9a3db62589246a940f44a9f5;ds=sidebyside 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(); }