summary refs log tree commit diff stats
path: root/hw/hyperv/hv-balloon.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2024-01-25 16:34:00 +0000
committerMichael Tokarev <mjt@tls.msk.ru>2024-01-30 21:20:20 +0300
commit05871c72be699d14c169968b9080e3a784389cd3 (patch)
tree8d1d1ec161360084585ed0c6661560ad247c23c2 /hw/hyperv/hv-balloon.c
parentbbad42455b808cee25488b050fc0be36117c9698 (diff)
downloadfocaccia-qemu-05871c72be699d14c169968b9080e3a784389cd3.tar.gz
focaccia-qemu-05871c72be699d14c169968b9080e3a784389cd3.zip
hyperv: Clean up includes
This commit was created with scripts/clean-includes:
 ./scripts/clean-includes --git hyperv hw/hyperv/*.[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: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/hyperv/hv-balloon.c')
-rw-r--r--hw/hyperv/hv-balloon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/hyperv/hv-balloon.c b/hw/hyperv/hv-balloon.c
index 66f297c1d7..0238365712 100644
--- a/hw/hyperv/hv-balloon.c
+++ b/hw/hyperv/hv-balloon.c
@@ -7,6 +7,7 @@
  * See the COPYING file in the top-level directory.
  */
 
+#include "qemu/osdep.h"
 #include "hv-balloon-internal.h"
 
 #include "exec/address-spaces.h"