math: move complex math out of libm.h
[musl] / src / thread / pthread_testcancel.c
index 774b706..d772449 100644 (file)
@@ -1,7 +1,14 @@
 #include "pthread_impl.h"
 
-void pthread_testcancel()
+static void dummy()
 {
-       CANCELPT_BEGIN;
-       CANCELPT_END;
 }
+
+weak_alias(dummy, __testcancel);
+
+void __pthread_testcancel()
+{
+       __testcancel();
+}
+
+weak_alias(__pthread_testcancel, pthread_testcancel);