aboutsummaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-01-31 12:16:51 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-01-31 12:16:51 +0000
commit5a7b542bbd6d79a049b4a1ab5fe3e284fac46e9a (patch)
treeccf15bf45b0eef9ceb32a3b381e7a4b6569974ae /target-i386
parentfd6776422bb97e957f7771a84fd4f1399557b973 (diff)
siginfo fix for Darwin/Mac OS X, by Pierre d'Herbemont.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2369 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/cpu.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index 4296093152..70a1caccda 100644
--- a/target-i386/cpu.h
+++ b/target-i386/cpu.h
@@ -628,8 +628,7 @@ void cpu_x86_frstor(CPUX86State *s, uint8_t *ptr, int data32);
/* you can call this signal handler from your SIGBUS and SIGSEGV
signal handlers to inform the virtual CPU of exceptions. non zero
is returned if the signal was handled by the virtual CPU. */
-struct siginfo;
-int cpu_x86_signal_handler(int host_signum, struct siginfo *info,
+int cpu_x86_signal_handler(int host_signum, void *pinfo,
void *puc);
void cpu_x86_set_a20(CPUX86State *env, int a20_state);