X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fthread%2Fpthread_testcancel.c;h=d772449d941560f762b36dbfc48977e9fa672f51;hb=6aeb9c6703670649ee09b3c8575fb428168bb75c;hp=774b70689978f0e351fa30b13976ccf227051f24;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/src/thread/pthread_testcancel.c b/src/thread/pthread_testcancel.c index 774b7068..d772449d 100644 --- a/src/thread/pthread_testcancel.c +++ b/src/thread/pthread_testcancel.c @@ -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);