On 16/1/26 13:58, Peter Maydell wrote:
This commit was created with scripts/clean-includes:
  ./scripts/clean-includes '--git' 'mshv' 'accel/mshv' 'target/i386/mshv' 
'include/system/mshv.h'

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]>
---
  accel/mshv/irq.c            | 3 +--
  accel/mshv/mshv-all.c       | 1 -
  include/system/mshv.h       | 1 -
  target/i386/mshv/mshv-cpu.c | 1 -
  target/i386/mshv/x86.c      | 1 -
  5 files changed, 1 insertion(+), 6 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>

Reply via email to