qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 03/10] disas/riscv: Clean up includes


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 03/10] disas/riscv: Clean up includes
Date: Thu, 25 Jan 2024 17:59:10 +0100
User-agent: Mozilla Thunderbird

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.maydell@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é <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]