[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 11/15] target-s390x: Clean includes
From: |
Stefan Weil |
Subject: |
[Qemu-devel] [PATCH 11/15] target-s390x: Clean includes |
Date: |
Thu, 2 Feb 2012 22:12:53 +0100 |
The change in cpu.h is needed when HOST_LONG_BITS is defined in qemu-common.h.
Signed-off-by: Stefan Weil <address@hidden>
---
target-s390x/cpu.h | 3 +++
target-s390x/helper.c | 5 -----
target-s390x/translate.c | 5 -----
3 files changed, 3 insertions(+), 10 deletions(-)
diff --git a/target-s390x/cpu.h b/target-s390x/cpu.h
index b8893b3..e892bec 100644
--- a/target-s390x/cpu.h
+++ b/target-s390x/cpu.h
@@ -19,6 +19,9 @@
#ifndef CPU_S390X_H
#define CPU_S390X_H
+#include "config.h"
+#include "qemu-common.h"
+
#define TARGET_LONG_BITS 64
#define ELF_MACHINE EM_S390
diff --git a/target-s390x/helper.c b/target-s390x/helper.c
index 10cc9dd..c0ec890 100644
--- a/target-s390x/helper.c
+++ b/target-s390x/helper.c
@@ -18,13 +18,8 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
#include "cpu.h"
#include "gdbstub.h"
-#include "qemu-common.h"
#include "qemu-timer.h"
#ifndef CONFIG_USER_ONLY
#include "sysemu.h"
diff --git a/target-s390x/translate.c b/target-s390x/translate.c
index ee15672..71f9dcd 100644
--- a/target-s390x/translate.c
+++ b/target-s390x/translate.c
@@ -17,11 +17,6 @@
* 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>
/* #define DEBUG_ILLEGAL_INSTRUCTIONS */
/* #define DEBUG_INLINE_BRANCHES */
--
1.7.7.3
- [Qemu-devel] [PATCH 15/15] Move definition of HOST_LONG_BITS to qemu-common.h, (continued)
- [Qemu-devel] [PATCH 15/15] Move definition of HOST_LONG_BITS to qemu-common.h, Stefan Weil, 2012/02/02
- [Qemu-devel] [PATCH 03/15] target-arm: Clean includes, Stefan Weil, 2012/02/02
- [Qemu-devel] [PATCH 04/15] target-cris: Clean includes, Stefan Weil, 2012/02/02
- [Qemu-devel] [PATCH 01/15] Remove macro HOST_LONG_SIZE, Stefan Weil, 2012/02/02
- [Qemu-devel] [PATCH 13/15] target-unicore32: Clean includes, Stefan Weil, 2012/02/02
- [Qemu-devel] [PATCH 07/15] target-m68k: Clean includes, Stefan Weil, 2012/02/02
- [Qemu-devel] [PATCH 12/15] target-sh4: Clean includes, Stefan Weil, 2012/02/02
- [Qemu-devel] [PATCH 09/15] target-mips: Clean includes, Stefan Weil, 2012/02/02
- [Qemu-devel] [PATCH 05/15] target-i386: Clean includes, Stefan Weil, 2012/02/02
- [Qemu-devel] [PATCH 11/15] target-s390x: Clean includes,
Stefan Weil <=
- [Qemu-devel] [PATCH 10/15] target-ppc: Clean includes, Stefan Weil, 2012/02/02
- [Qemu-devel] [PATCH 06/15] target-lm32: Clean includes, Stefan Weil, 2012/02/02
- [Qemu-devel] [PATCH 08/15] target-microblaze: Clean includes, Stefan Weil, 2012/02/02
- [Qemu-devel] [PATCH 14/15] target-xtensa: Clean includes, Stefan Weil, 2012/02/02