]> git.proxmox.com Git - mirror_qemu.git/commit
disas/riscv: Clean up includes
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 25 Jan 2024 16:34:01 +0000 (16:34 +0000)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 30 Jan 2024 18:20:20 +0000 (21:20 +0300)
commit3910de6fc7f32b05e8e8883cbea89907f36a2b33
tree92d35b5a18c02551dc1091d29a35c3b86fef18ab
parent05871c72be699d14c169968b9080e3a784389cd3
disas/riscv: Clean up includes

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.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
disas/riscv-xthead.c
disas/riscv-xventana.c
disas/riscv.h