stubs: 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.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1454089805-5470-3-git-send-email-peter.maydell@linaro.org
This commit is contained in:
Peter Maydell 2016-01-29 17:49:52 +00:00
parent e16f4c8770
commit 87c9b5e047
40 changed files with 40 additions and 1 deletions

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "sysemu/arch_init.h"
#include "qapi/qmp/qerror.h"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "block/block.h"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/timer.h"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/timer.h"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/timer.h"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qom/cpu.h"

View File

@ -11,6 +11,7 @@
*
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "sysemu/dump-arch.h"
#include "qmp-commands.h"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/main-loop.h"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "monitor/monitor.h"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "monitor/monitor.h"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "monitor/monitor.h"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "monitor/monitor.h"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "stdbool.h" /* bool (in exec/gdbstub.h) */
#include "stddef.h" /* NULL */
#include "exec/gdbstub.h" /* xml_builtin */

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "monitor/monitor.h"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
CharDriverState *serial_hds[0];

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
const char *qemu_get_vm_name(void)

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/main-loop.h"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
/* Win32 has its own inline stub */

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "sysemu/kvm.h"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "sysemu/sysemu.h"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "migration/migration.h"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "monitor/monitor.h"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "monitor/monitor.h"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "monitor/monitor.h"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/main-loop.h"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qom/object.h"
#include "hw/mem/pc-dimm.h"

View File

@ -8,6 +8,7 @@
* See the COPYING file in the top-level directory.
*/
#include "qemu/osdep.h"
#include "sysemu/qtest.h"
/* Needed for qtest_allowed() */

View File

@ -9,6 +9,7 @@
*
*/
#include "qemu/osdep.h"
#include "sysemu/replay.h"
bool replay_exception(void)

View File

@ -1,5 +1,5 @@
#include "qemu/osdep.h"
#include "sysemu/replay.h"
#include <stdlib.h>
#include "sysemu/sysemu.h"
ReplayMode replay_mode;

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "hw/hw.h"
/* Stub functions for binaries that never call qemu_devices_reset(),

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "sysemu/sysemu.h"
bool runstate_check(RunState state)

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/main-loop.h"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "slirp/slirp.h"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "hw/qdev-core.h"
BusState *sysbus_get_default(void)

View File

@ -19,6 +19,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include "qemu/osdep.h"
#include "stdint.h"
typedef struct CPUState CPUState;

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "stddef.h"
#include "qemu/typedefs.h"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "sysemu/sysemu.h"
#include "qmp-commands.h"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "hw/virtio/vhost.h"
bool vhost_has_free_slot(void)

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "sysemu/sysemu.h"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "migration/vmstate.h"