[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 13/20] target/hexagon: Clean up includes
From: |
Markus Armbruster |
Subject: |
[PATCH v5 13/20] target/hexagon: Clean up includes |
Date: |
Mon, 30 Jan 2023 14:21:49 +0100 |
Clean up includes so that qemu/osdep.h is included first in .c, and
not in .h, and headers which it implies are not included manually.
This commit was created with scripts/clean-includes.
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 v5 03/20] scripts/clean-includes: Skip symbolic links, (continued)
- [PATCH v5 03/20] scripts/clean-includes: Skip symbolic links, Markus Armbruster, 2023/01/30
- [PATCH v5 16/20] accel: Clean up includes, Markus Armbruster, 2023/01/30
- [PATCH v5 06/20] crypto: Clean up includes, Markus Armbruster, 2023/01/30
- [PATCH v5 20/20] Drop duplicate #include, Markus Armbruster, 2023/01/30
- [PATCH v5 18/20] Don't include headers already included by qemu/osdep.h, Markus Armbruster, 2023/01/30
- [PATCH v5 15/20] block: Clean up includes, Markus Armbruster, 2023/01/30
- [PATCH v5 11/20] migration: Clean up includes, Markus Armbruster, 2023/01/30
- [PATCH v5 10/20] qga: Clean up includes, Markus Armbruster, 2023/01/30
- [PATCH v5 02/20] scripts/clean-includes: Don't claim duplicate headers found when not, Markus Armbruster, 2023/01/30
- [PATCH v5 12/20] net: Clean up includes, Markus Armbruster, 2023/01/30
- [PATCH v5 13/20] target/hexagon: Clean up includes,
Markus Armbruster <=
- [PATCH v5 05/20] bsd-user: Clean up includes, Markus Armbruster, 2023/01/30
- [PATCH v5 17/20] Fix non-first inclusions of qemu/osdep.h, Markus Armbruster, 2023/01/30
- [PATCH v5 19/20] 9p: Drop superfluous include of linux/limits.h, Markus Armbruster, 2023/01/30