After the previous patch, we can use the proper
declaration in a common header file.

Signed-off-by: Blue Swirl <blauwir...@gmail.com>
---
 target-i386/excp_helper.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/target-i386/excp_helper.c b/target-i386/excp_helper.c
index 72bd46d..aaa5ca2 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.
-- 
1.7.10
From 16c9de2b50582551cd673d28319038edc9d0bb70 Mon Sep 17 00:00:00 2001
Message-Id: 
<16c9de2b50582551cd673d28319038edc9d0bb70.1338730655.git.blauwir...@gmail.com>
In-Reply-To: 
<43414103f20d66743a8a6066d149cee6f49f5a9a.1338730655.git.blauwir...@gmail.com>
References: 
<43414103f20d66743a8a6066d149cee6f49f5a9a.1338730655.git.blauwir...@gmail.com>
From: Blue Swirl <blauwir...@gmail.com>
Date: Sun, 29 Apr 2012 09:07:22 +0000
Subject: [PATCH 04/25] 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 <blauwir...@gmail.com>
---
 target-i386/excp_helper.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/target-i386/excp_helper.c b/target-i386/excp_helper.c
index 72bd46d..aaa5ca2 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.
-- 
1.7.2.5

Reply via email to