summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2023-02-02 14:38:21 +0100
committerMarkus Armbruster <armbru@redhat.com>2023-02-08 07:27:20 +0100
commitc0e38aa8f58d0cf39c9feec3e3f75615b768d520 (patch)
tree42adad06cd79330f9f2720f66c77a10b69125e4f
parentc12a9848148bb3babf9a29bd965d82f79ecfba27 (diff)
downloadfocaccia-qemu-c0e38aa8f58d0cf39c9feec3e3f75615b768d520.tar.gz
focaccia-qemu-c0e38aa8f58d0cf39c9feec3e3f75615b768d520.zip
migration: Clean up includes
This commit was created with scripts/clean-includes.

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: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20230202133830.2152150-12-armbru@redhat.com>
[Straightforward conflict with commit d5890ea0722 resolved]
-rw-r--r--include/qemu/userfaultfd.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/qemu/userfaultfd.h b/include/qemu/userfaultfd.h
index d764496f0b..18a4314212 100644
--- a/include/qemu/userfaultfd.h
+++ b/include/qemu/userfaultfd.h
@@ -15,7 +15,6 @@
 
 #ifdef CONFIG_LINUX
 
-#include "qemu/osdep.h"
 #include "exec/hwaddr.h"
 #include <linux/userfaultfd.h>