strace/sigreturn.c
Dmitry V. Levin 5a25466437 Move NSIG ifdefery to a separate header file
* nsig.h: New file.
* Makefile.am (strace_SOURCES): Add it.
* signal.c: Include "nsig.h" instead of <signal.h>, remove
NSIG workarounds.
* sigreturn.c: Likewise.
* syscall.c: Likewise.
* tests/pselect6.c: Likewise.
2016-12-27 23:18:21 +00:00

18 lines
279 B
C

#include "defs.h"
#include "nsig.h"
#include "regs.h"
#include "ptrace.h"
#if defined HAVE_ASM_SIGCONTEXT_H && !defined HAVE_STRUCT_SIGCONTEXT
# include <asm/sigcontext.h>
#endif
#include "arch_sigreturn.c"
SYS_FUNC(sigreturn)
{
arch_sigreturn(tcp);
return RVAL_DECODED;
}