]> granicus.if.org Git - strace/blobdiff - syscall.c
Fix struct pt_regs declaration on i386 and x86-64
[strace] / syscall.c
index 706ded40a1cb1452bbcabd114d05d00364717db8..d35600683d32e8f2a0eeb8973052a6f4d1252225 100644 (file)
--- a/syscall.c
+++ b/syscall.c
@@ -737,7 +737,7 @@ struct tcb *tcp_last = NULL;
 # if defined(I386)
 struct pt_regs i386_regs;
 # elif defined(X86_64)
-struct pt_regs x86_64_regs;
+static struct pt_regs x86_64_regs;
 # elif defined (IA64)
 long r8, r10, psr; /* TODO: make static? */
 long ia32 = 0; /* not static */