about summary refs log tree commit diff
path: root/src/thread/pthread_testcancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_testcancel.c')
-rw-r--r--src/thread/pthread_testcancel.c4
1 files changed, 3 insertions, 1 deletions
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();
 }