On 11/4/25 17:09, Peter Maydell wrote:
This commit was created with scripts/clean-includes:
  ./scripts/clean-includes --git tests tests

with one hand-edit to remove a now-empty #ifndef WIN32...#endif
from tests/qtest/dbus-display-test.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 <[email protected]>
---
  tests/qtest/aspeed-hace-utils.h      | 1 -
  tests/qtest/aspeed-smc-utils.h       | 1 -
  tests/qtest/aspeed_gpio-test.c       | 1 -
  tests/qtest/dbus-display-test.c      | 3 ---
  tests/qtest/pnv-spi-seeprom-test.c   | 1 -
  tests/unit/test-cutils.c             | 2 +-
  tests/unit/test-error-report.c       | 1 -
  tests/unit/test-io-channel-command.c | 2 --
  8 files changed, 1 insertion(+), 11 deletions(-)

Reviewed-by: Cédric Le Goater <[email protected]>

Thanks,

C.



Reply via email to