projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove __SYSCALL_SSLEN arch macro in favor of using public _NSIG
[musl]
/
src
/
signal
/
siglongjmp.c
diff --git
a/src/signal/siglongjmp.c
b/src/signal/siglongjmp.c
index
9b4a539
..
bbdde79
100644
(file)
--- a/
src/signal/siglongjmp.c
+++ b/
src/signal/siglongjmp.c
@@
-3,9
+3,9
@@
#include <stdlib.h>
#include "syscall.h"
#include <stdlib.h>
#include "syscall.h"
-void siglongjmp(sigjmp_buf buf, int ret)
+
_Noreturn
void siglongjmp(sigjmp_buf buf, int ret)
{
{
- if (buf->__fl)
-
__syscall(SYS_rt_sigprocmask, SIG_SETMASK, buf->__ss, 0,
8);
+ if (buf->__fl)
__syscall(SYS_rt_sigprocmask, SIG_SETMASK,
+
buf->__ss, 0, _NSIG/
8);
longjmp(buf->__jb, ret);
}
longjmp(buf->__jb, ret);
}