summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2012-04-29 09:07:22 +0000
committerBlue Swirl <blauwirbel@gmail.com>2012-06-28 20:28:08 +0000
commit9dd69d65aa0c25692be1722d0a05315b9a02422e (patch)
treeaa418045d663a0f3d08ff5cc33f7a833027fa22d
parent599b9a5a51ee958af9b5d5b9b8460c0ec786c639 (diff)
downloadfocaccia-qemu-9dd69d65aa0c25692be1722d0a05315b9a02422e.tar.gz
focaccia-qemu-9dd69d65aa0c25692be1722d0a05315b9a02422e.zip
x86: avoid an extern declaration
After the previous patch, we can use the proper
declaration in a common header file.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r--target-i386/excp_helper.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/target-i386/excp_helper.c b/target-i386/excp_helper.c
index 72bd46d673..aaa5ca2090 100644
--- a/target-i386/excp_helper.c
+++ b/target-i386/excp_helper.c
@@ -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.