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"