]> granicus.if.org Git - strace/blobdiff - sigreturn.c
io.c: use printaddr and umove_or_printaddr
[strace] / sigreturn.c
index b3fc038ba2d58e146f14323f75907d751e7c6974..659d5af9ef353c603b2efce92455adfc87b93e4f 100644 (file)
@@ -1,4 +1,5 @@
 #include "defs.h"
+#include <signal.h>
 #include "regs.h"
 #include "ptrace.h"
 
@@ -13,8 +14,7 @@
 # error NSIG < 32
 #endif
 
-int
-sys_sigreturn(struct tcb *tcp)
+SYS_FUNC(sigreturn)
 {
        if (entering(tcp)) {
 #include "arch_sigreturn.c"