[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v6 13/20] target/hexagon: Clean up includes
From: |
Markus Armbruster |
Subject: |
[PATCH v6 13/20] target/hexagon: Clean up includes |
Date: |
Thu, 2 Feb 2023 14:38:23 +0100 |
This commit was created with scripts/clean-includes.
All .c should include qemu/osdep.h first. The script performs three
related cleanups:
* Ensure .c files include qemu/osdep.h first.
* Including it in a .h is redundant, since the .c already includes
it. Drop such inclusions.
* Likewise, including headers qemu/osdep.h includes is redundant.
Drop these, too.
Changes to standalone programs dropped, because these intentionally
don't use qemu/osdep.h:
target/hexagon/gen_dectree_import.c
target/hexagon/gen_semantics.c
target/hexagon/idef-parser/idef-parser.h
target/hexagon/idef-parser/parser-helpers.c
target/hexagon/idef-parser/parser-helpers.h
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
---
target/hexagon/hex_arch_types.h | 1 -
target/hexagon/mmvec/macros.h | 1 -
2 files changed, 2 deletions(-)
diff --git a/target/hexagon/hex_arch_types.h b/target/hexagon/hex_arch_types.h
index 885f68f760..52a7f2b2f3 100644
--- a/target/hexagon/hex_arch_types.h
+++ b/target/hexagon/hex_arch_types.h
@@ -18,7 +18,6 @@
#ifndef HEXAGON_HEX_ARCH_TYPES_H
#define HEXAGON_HEX_ARCH_TYPES_H
-#include "qemu/osdep.h"
#include "mmvec/mmvec.h"
#include "qemu/int128.h"
diff --git a/target/hexagon/mmvec/macros.h b/target/hexagon/mmvec/macros.h
index 8c864e8c68..1201d778d0 100644
--- a/target/hexagon/mmvec/macros.h
+++ b/target/hexagon/mmvec/macros.h
@@ -18,7 +18,6 @@
#ifndef HEXAGON_MMVEC_MACROS_H
#define HEXAGON_MMVEC_MACROS_H
-#include "qemu/osdep.h"
#include "qemu/host-utils.h"
#include "arch.h"
#include "mmvec/system_ext_mmvec.h"
--
2.39.0
- [PATCH v6 01/20] scripts/clean-includes: Fully skip / ignore files, (continued)
- [PATCH v6 01/20] scripts/clean-includes: Fully skip / ignore files, Markus Armbruster, 2023/02/02
- [PATCH v6 11/20] migration: Clean up includes, Markus Armbruster, 2023/02/02
- [PATCH v6 08/20] hw/input: Clean up includes, Markus Armbruster, 2023/02/02
- [PATCH v6 16/20] accel: Clean up includes, Markus Armbruster, 2023/02/02
- [PATCH v6 03/20] scripts/clean-includes: Skip symbolic links, Markus Armbruster, 2023/02/02
- [PATCH v6 05/20] bsd-user: Clean up includes, Markus Armbruster, 2023/02/02
- [PATCH v6 09/20] hw/tricore: Clean up includes, Markus Armbruster, 2023/02/02
- [PATCH v6 20/20] Drop duplicate #include, Markus Armbruster, 2023/02/02
- [PATCH v6 06/20] crypto: Clean up includes, Markus Armbruster, 2023/02/02
- [PATCH v6 12/20] net: Clean up includes, Markus Armbruster, 2023/02/02
- [PATCH v6 13/20] target/hexagon: Clean up includes,
Markus Armbruster <=
- [PATCH v6 14/20] riscv: Clean up includes, Markus Armbruster, 2023/02/02
- [PATCH v6 17/20] Fix non-first inclusions of qemu/osdep.h, Markus Armbruster, 2023/02/02
- [PATCH v6 19/20] 9p: Drop superfluous include of linux/limits.h, Markus Armbruster, 2023/02/02
- [PATCH v6 02/20] scripts/clean-includes: Don't claim duplicate headers found when not, Markus Armbruster, 2023/02/02
- [PATCH v6 10/20] qga: Clean up includes, Markus Armbruster, 2023/02/02
- [PATCH v6 04/20] scripts/clean-includes: Improve --git commit message, Markus Armbruster, 2023/02/02
- [PATCH v6 07/20] hw/cxl: Clean up includes, Markus Armbruster, 2023/02/02
- [PATCH v6 15/20] block: Clean up includes, Markus Armbruster, 2023/02/02
- [PATCH v6 18/20] Don't include headers already included by qemu/osdep.h, Markus Armbruster, 2023/02/02