]> git.proxmox.com Git - mirror_qemu.git/commit
block: Clean up includes
authorMarkus Armbruster <armbru@redhat.com>
Thu, 2 Feb 2023 13:38:25 +0000 (14:38 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 8 Feb 2023 06:28:05 +0000 (07:28 +0100)
commit02f95e91a66bf4027317591090350e3fb7e700de
tree930abf6e08eb16e709dc7e49fc4d7757686a3b9e
parent06e2b0107fedf9ebef2d175a06a66c82015af11b
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>
block/qapi.c
include/block/graph-lock.h
include/block/write-threshold.h