commit | 024cad9a25bd11abc05525ab58b33cb570e29464 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Tue Jan 17 18:37:13 2012 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Tue Jan 17 18:37:13 2012 +0000 |
tree | 41c9c2043e9033dc5242e71b86c6067d6a67336c | |
parent | fe585656f8d0c6ac7298df22fce0d9ee0935e264 [diff] [blame] |
Fix struct pt_regs declaration on i386 and x86-64 * defs.h [I386] (i386_regs): Replace definition with declaration. [X86_64] (x86_64_regs): Remove. * syscall.c [X86_64] (x86_64_regs): Make static.
diff --git a/defs.h b/defs.h index 2238373..45e3246 100644 --- a/defs.h +++ b/defs.h
@@ -393,9 +393,7 @@ #ifdef LINUX # if defined(I386) -struct pt_regs i386_regs; -# elif defined(X86_64) -struct pt_regs x86_64_regs; +extern struct pt_regs i386_regs; # endif #endif /* LINUX */