summary refs log tree commit diff stats
path: root/bsd-user/i386/target_arch_cpu.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2023-02-02 14:38:15 +0100
committerMarkus Armbruster <armbru@redhat.com>2023-02-08 07:16:23 +0100
commit48e438a3aaf9697d69902dd7f16c0655142dfa8e (patch)
tree6201952ec881dd24d3a3edebc13db1382a48919c /bsd-user/i386/target_arch_cpu.c
parentd598d9746e87cea8e92acd0d4f4320fe5d854440 (diff)
downloadfocaccia-qemu-48e438a3aaf9697d69902dd7f16c0655142dfa8e.tar.gz
focaccia-qemu-48e438a3aaf9697d69902dd7f16c0655142dfa8e.zip
bsd-user: 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: Warner Losh <imp@bsdimp.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20230202133830.2152150-6-armbru@redhat.com>
Diffstat (limited to 'bsd-user/i386/target_arch_cpu.c')
-rw-r--r--bsd-user/i386/target_arch_cpu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bsd-user/i386/target_arch_cpu.c b/bsd-user/i386/target_arch_cpu.c
index d349e45299..2a3af2ddef 100644
--- a/bsd-user/i386/target_arch_cpu.c
+++ b/bsd-user/i386/target_arch_cpu.c
@@ -17,9 +17,8 @@
  *  along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <sys/types.h>
-
 #include "qemu/osdep.h"
+
 #include "cpu.h"
 #include "qemu.h"
 #include "qemu/timer.h"