diff options
author | Markus Armbruster <armbru@redhat.com> | 2023-02-02 14:38:25 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2023-02-08 07:28:05 +0100 |
commit | 02f95e91a66bf4027317591090350e3fb7e700de (patch) | |
tree | 930abf6e08eb16e709dc7e49fc4d7757686a3b9e /block | |
parent | 06e2b0107fedf9ebef2d175a06a66c82015af11b (diff) |
block: Clean up includes
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: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20230202133830.2152150-16-armbru@redhat.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/qapi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/block/qapi.c b/block/qapi.c index d52f1ab614..c84147849d 100644 --- a/block/qapi.c +++ b/block/qapi.c @@ -40,7 +40,6 @@ #include "qapi/qmp/qstring.h" #include "qemu/qemu-print.h" #include "sysemu/block-backend.h" -#include "qemu/cutils.h" BlockDeviceInfo *bdrv_block_device_info(BlockBackend *blk, BlockDriverState *bs, |