On 25/1/24 17:34, Peter Maydell wrote:
This commit was created with scripts/clean-includes:
  ./scripts/clean-includes --git disas/riscv disas/riscv*[ch]

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>
---
  disas/riscv.h          | 1 -
  disas/riscv-xthead.c   | 1 +
  disas/riscv-xventana.c | 1 +
  3 files changed, 2 insertions(+), 1 deletion(-)

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


Reply via email to