[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 16/20] accel: Clean up includes
From: |
Markus Armbruster |
Subject: |
[PULL 16/20] accel: Clean up includes |
Date: |
Tue, 7 Feb 2023 07:45:19 +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.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20230202133830.2152150-17-armbru@redhat.com>
---
include/sysemu/accel-blocker.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/sysemu/accel-blocker.h b/include/sysemu/accel-blocker.h
index 72020529ef..0733783bcc 100644
--- a/include/sysemu/accel-blocker.h
+++ b/include/sysemu/accel-blocker.h
@@ -14,7 +14,6 @@
#ifndef ACCEL_BLOCKER_H
#define ACCEL_BLOCKER_H
-#include "qemu/osdep.h"
#include "sysemu/cpus.h"
extern void accel_blocker_init(void);
--
2.39.0
- [PULL 00/20] Header cleanup patches for 2023-02-06, Markus Armbruster, 2023/02/07
- [PULL 01/20] scripts/clean-includes: Fully skip / ignore files, Markus Armbruster, 2023/02/07
- [PULL 08/20] hw/input: Clean up includes, Markus Armbruster, 2023/02/07
- [PULL 03/20] scripts/clean-includes: Skip symbolic links, Markus Armbruster, 2023/02/07
- [PULL 09/20] hw/tricore: Clean up includes, Markus Armbruster, 2023/02/07
- [PULL 07/20] hw/cxl: Clean up includes, Markus Armbruster, 2023/02/07
- [PULL 12/20] net: Clean up includes, Markus Armbruster, 2023/02/07
- [PULL 04/20] scripts/clean-includes: Improve --git commit message, Markus Armbruster, 2023/02/07
- [PULL 16/20] accel: Clean up includes,
Markus Armbruster <=
- [PULL 06/20] crypto: Clean up includes, Markus Armbruster, 2023/02/07
- [PULL 17/20] Fix non-first inclusions of qemu/osdep.h, Markus Armbruster, 2023/02/07
- [PULL 14/20] riscv: Clean up includes, Markus Armbruster, 2023/02/07
- [PULL 10/20] qga: Clean up includes, Markus Armbruster, 2023/02/07
- [PULL 11/20] migration: Clean up includes, Markus Armbruster, 2023/02/07
- [PULL 20/20] Drop duplicate #include, Markus Armbruster, 2023/02/07
- [PULL 13/20] target/hexagon: Clean up includes, Markus Armbruster, 2023/02/07
- [PULL 19/20] 9p: Drop superfluous include of linux/limits.h, Markus Armbruster, 2023/02/07
- [PULL 05/20] bsd-user: Clean up includes, Markus Armbruster, 2023/02/07
- [PULL 15/20] block: Clean up includes, Markus Armbruster, 2023/02/07