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.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/thread/pthread_testcancel.c b/src/thread/pthread_testcancel.c
index 33238c0f..ba5f7c6c 100644
--- a/src/thread/pthread_testcancel.c
+++ b/src/thread/pthread_testcancel.c
@@ -1,6 +1,11 @@
 #include "pthread_impl.h"
+#include "libc.h"
 
-void __testcancel(void);
+static void dummy()
+{
+}
+
+weak_alias(dummy, __testcancel);
 
 void pthread_testcancel()
 {