On 25/1/24 17:34, Peter Maydell wrote:
This commit was created with scripts/clean-includes:
  ./scripts/clean-includes --git acpi include/hw/*/*acpi.h hw/*/*acpi.c

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: Peter Maydell <peter.mayd...@linaro.org>
---
  include/hw/nvram/fw_cfg_acpi.h  | 1 -
  include/hw/virtio/virtio-acpi.h | 1 -
  hw/nvram/fw_cfg-acpi.c          | 1 +
  hw/virtio/virtio-acpi.c         | 1 +
  4 files changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>


Reply via email to