aboutsummaryrefslogtreecommitdiff
path: root/htl/pt-testcancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'htl/pt-testcancel.c')
-rw-r--r--htl/pt-testcancel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/htl/pt-testcancel.c b/htl/pt-testcancel.c
index 1ec324b95f..37326280ee 100644
--- a/htl/pt-testcancel.c
+++ b/htl/pt-testcancel.c
@@ -22,7 +22,7 @@
#include <pthreadP.h>
void
-pthread_testcancel (void)
+__pthread_testcancel (void)
{
struct __pthread *p = _pthread_self ();
int cancelled;
@@ -34,3 +34,4 @@ pthread_testcancel (void)
if (cancelled)
__pthread_exit (PTHREAD_CANCELED);
}
+strong_alias (__pthread_testcancel, pthread_testcancel)