use weak aliases rather than function pointers to simplify some code
[musl] / src / thread / pthread_testcancel.c
index 774b706..33238c0 100644 (file)
@@ -1,7 +1,8 @@
 #include "pthread_impl.h"
 
+void __testcancel(void);
+
 void pthread_testcancel()
 {
-       CANCELPT_BEGIN;
-       CANCELPT_END;
+       __testcancel();
 }