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.
This commit is contained in:
parent
fe585656f8
commit
024cad9a25
4
defs.h
4
defs.h
@ -393,9 +393,7 @@ extern int mp_ioctl(int f, int c, void *a, int s);
|
||||
|
||||
#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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user