nios2: remove duplicated includes (in code commented out)

applied using ./scripts/clean-includes

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
Philippe Mathieu-Daudé 2017-10-17 13:44:01 -03:00 committed by Michael Tokarev
parent 6f144ff081
commit 9d80865724
6 changed files with 3 additions and 9 deletions

View File

@ -1756,7 +1756,6 @@ extern const int nios2_num_r2_reg_range_mappings;
#endif /* _NIOS2_H */ #endif /* _NIOS2_H */
/*#include "sysdep.h" /*#include "sysdep.h"
#include <stdio.h>
#include "opcode/nios2.h" #include "opcode/nios2.h"
*/ */
/* Register string table */ /* Register string table */
@ -2521,8 +2520,6 @@ const int nios2_num_r2_reg_range_mappings = 8;
#include "dis-asm.h" #include "dis-asm.h"
#include "opcode/nios2.h" #include "opcode/nios2.h"
#include "libiberty.h" #include "libiberty.h"
#include <string.h>
#include <assert.h>
*/ */
/* No symbol table is available when this code runs out in an embedded /* No symbol table is available when this code runs out in an embedded
system as when it is used for disassembler support in a monitor. */ system as when it is used for disassembler support in a monitor. */

View File

@ -34,7 +34,6 @@
#include "qemu/option.h" #include "qemu/option.h"
#include "qemu/config-file.h" #include "qemu/config-file.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "qemu-common.h"
#include "sysemu/device_tree.h" #include "sysemu/device_tree.h"
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"
#include "hw/loader.h" #include "hw/loader.h"

View File

@ -20,7 +20,6 @@
#ifndef CPU_NIOS2_H #ifndef CPU_NIOS2_H
#define CPU_NIOS2_H #define CPU_NIOS2_H
#include "qemu/osdep.h"
#include "qemu-common.h" #include "qemu-common.h"
#define TARGET_LONG_BITS 32 #define TARGET_LONG_BITS 32

View File

@ -18,12 +18,9 @@
* <http://www.gnu.org/licenses/lgpl-2.1.html> * <http://www.gnu.org/licenses/lgpl-2.1.html>
*/ */
#include <stdio.h> #include "qemu/osdep.h"
#include <string.h>
#include <assert.h>
#include "cpu.h" #include "cpu.h"
#include "qemu/osdep.h"
#include "qemu/host-utils.h" #include "qemu/host-utils.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "exec/exec-all.h" #include "exec/exec-all.h"

View File

@ -18,6 +18,7 @@
* <http://www.gnu.org/licenses/lgpl-2.1.html> * <http://www.gnu.org/licenses/lgpl-2.1.html>
*/ */
#include "qemu/osdep.h"
#include "cpu.h" #include "cpu.h"
#include "exec/helper-proto.h" #include "exec/helper-proto.h"
#include "exec/cpu_ldst.h" #include "exec/cpu_ldst.h"

View File

@ -21,6 +21,7 @@
* <http://www.gnu.org/licenses/lgpl-2.1.html> * <http://www.gnu.org/licenses/lgpl-2.1.html>
*/ */
#include "qemu/osdep.h"
#include "cpu.h" #include "cpu.h"
#include "tcg-op.h" #include "tcg-op.h"
#include "exec/exec-all.h" #include "exec/exec-all.h"