X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fsignal%2Fsiglongjmp.c;h=bc317acce93176a939f6de518cbe67d81284bdfd;hb=9532ae1318201d66b235a618df16aac0b3386630;hp=d0e4f67d3bccf9c2f201ca30e1cf9f23a839a616;hpb=0c05bd3a9c165cf2f0b9d6fa23a1f96532ddcdb3;p=musl diff --git a/src/signal/siglongjmp.c b/src/signal/siglongjmp.c index d0e4f67d..bc317acc 100644 --- a/src/signal/siglongjmp.c +++ b/src/signal/siglongjmp.c @@ -1,11 +1,9 @@ #include #include -#include #include "syscall.h" +#include "pthread_impl.h" _Noreturn void siglongjmp(sigjmp_buf buf, int ret) { - if (buf->__fl) __syscall(SYS_rt_sigprocmask, SIG_SETMASK, - buf->__ss, 0, __SYSCALL_SSLEN); - longjmp(buf->__jb, ret); + longjmp(buf, ret); }