]> git.proxmox.com Git - qemu.git/commitdiff
x86: avoid an extern declaration
authorBlue Swirl <blauwirbel@gmail.com>
Sun, 29 Apr 2012 09:07:22 +0000 (09:07 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Thu, 28 Jun 2012 20:28:08 +0000 (20:28 +0000)
After the previous patch, we can use the proper
declaration in a common header file.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-i386/excp_helper.c

index 72bd46d67377096593c75a2ec413f1a7f8d09b99..aaa5ca20907f462088906923df9191dd54606dbb 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "cpu.h"
 #include "qemu-log.h"
+#include "sysemu.h"
 #include "helper.h"
 
 #if 0
@@ -39,10 +40,6 @@ void helper_raise_exception(CPUX86State *env, int exception_index)
     raise_exception(env, exception_index);
 }
 
-
-/* This should come from sysemu.h - if we could include it here... */
-void qemu_system_reset_request(void);
-
 /*
  * Check nested exceptions and change to double or triple fault if
  * needed. It should only be called, if this is not an interrupt.