aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-02-01 20:55:18 +0100
committerStefan Weil <sw@weilnetz.de>2012-02-28 22:33:42 +0100
commit3aef481a6b043e6995d2edef49e89489b4f1e2cc (patch)
treec2cb2b10aa3f3fe43b04f1cd6c7d6eeab2c2e25d
parent60ed8d298e1e75b80a560dc5c3f25582aa1fc548 (diff)
target-m68k: Clean includes
config.h was missing in cpu.h. Signed-off-by: Stefan Weil <sw@weilnetz.de>
-rw-r--r--target-m68k/cpu.h1
-rw-r--r--target-m68k/helper.c5
-rw-r--r--target-m68k/translate.c6
3 files changed, 1 insertions, 11 deletions
diff --git a/target-m68k/cpu.h b/target-m68k/cpu.h
index 0667f8214a..4cc3a35f2e 100644
--- a/target-m68k/cpu.h
+++ b/target-m68k/cpu.h
@@ -24,6 +24,7 @@
#define CPUState struct CPUM68KState
+#include "config.h"
#include "qemu-common.h"
#include "cpu-defs.h"
diff --git a/target-m68k/helper.c b/target-m68k/helper.c
index 674c8e6f07..fa675bfca6 100644
--- a/target-m68k/helper.c
+++ b/target-m68k/helper.c
@@ -18,12 +18,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#include <stdio.h>
-#include <string.h>
-
-#include "config.h"
#include "cpu.h"
-#include "qemu-common.h"
#include "gdbstub.h"
#include "helpers.h"
diff --git a/target-m68k/translate.c b/target-m68k/translate.c
index 0e7f1fe2c7..2bdd9dd1e3 100644
--- a/target-m68k/translate.c
+++ b/target-m68k/translate.c
@@ -17,13 +17,7 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#include <stdarg.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <inttypes.h>
-#include "config.h"
#include "cpu.h"
#include "disas.h"
#include "tcg-op.h"