mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
Clean up includes
Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes, with the change to target/s390x/gen-features.c manually reverted, and blank lines around deletions collapsed. Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20180201111846.21846-3-armbru@redhat.com>
This commit is contained in:
parent
d8e39b7062
commit
8f0a3716e4
30 changed files with 9 additions and 51 deletions
|
@ -19,7 +19,6 @@
|
|||
#include "qemu/osdep.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "qemu/typedefs.h"
|
||||
#include "qemu/cutils.h"
|
||||
#include "qom/object.h"
|
||||
#include "hw/qdev-core.h"
|
||||
|
|
|
@ -7,9 +7,8 @@
|
|||
* the LICENSE file in the top-level directory.
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
|
||||
#include "qapi/error.h"
|
||||
#include "hw/hw.h"
|
||||
#include "hw/i2c/i2c.h"
|
||||
|
|
|
@ -40,11 +40,6 @@
|
|||
#include "qapi/clone-visitor.h"
|
||||
#include "chardev/char-fe.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define DEBUG_TPM 0
|
||||
|
||||
#define DPRINTF(fmt, ...) do { \
|
||||
|
|
|
@ -12,8 +12,6 @@
|
|||
#ifndef TPM_TPM_INT_H
|
||||
#define TPM_TPM_INT_H
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
|
||||
#define TPM_STANDARD_CMDLINE_OPTS \
|
||||
{ \
|
||||
.name = "type", \
|
||||
|
|
|
@ -8,9 +8,7 @@
|
|||
#ifndef _TPM_IOCTL_H_
|
||||
#define _TPM_IOCTL_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
/*
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
#ifndef _XTENSA_MEMORY_H
|
||||
#define _XTENSA_MEMORY_H
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "qemu-common.h"
|
||||
#include "cpu.h"
|
||||
#include "exec/memory.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue