Skip to content

Commit

Permalink
migration: Clean up includes
Browse files Browse the repository at this point in the history
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 d5890ea resolved]
  • Loading branch information
Markus Armbruster committed Feb 8, 2023
1 parent c12a984 commit c0e38aa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/qemu/userfaultfd.h
Expand Up @@ -15,7 +15,6 @@

#ifdef CONFIG_LINUX

#include "qemu/osdep.h"
#include "exec/hwaddr.h"
#include <linux/userfaultfd.h>

Expand Down

0 comments on commit c0e38aa

Please sign in to comment.