]> git.proxmox.com Git - mirror_qemu.git/commitdiff
accel: Clean up includes
authorMarkus Armbruster <armbru@redhat.com>
Thu, 2 Feb 2023 13:38:26 +0000 (14:38 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 8 Feb 2023 06:28:05 +0000 (07:28 +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

index 72020529ef3541329d46b260ef279bc9e5725c58..0733783bcc503e1f1f573bb50e5aec166023a1fd 100644 (file)
@@ -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);