janitor: do not include qemu-char everywhere
Touching char/char.h basically causes the whole of QEMU to be rebuilt. Avoid this, it is usually unnecessary. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
077805fa92
commit
f8fe796407
@ -24,7 +24,6 @@
|
||||
#include <alsa/asoundlib.h>
|
||||
#include "qemu-common.h"
|
||||
#include "main-loop.h"
|
||||
#include "qemu-char.h"
|
||||
#include "audio.h"
|
||||
|
||||
#if QEMU_GNUC_PREREQ(4, 3)
|
||||
|
@ -33,7 +33,6 @@
|
||||
#include "qemu-common.h"
|
||||
#include "main-loop.h"
|
||||
#include "host-utils.h"
|
||||
#include "qemu-char.h"
|
||||
#include "audio.h"
|
||||
|
||||
#define AUDIO_CAP "oss"
|
||||
|
@ -23,7 +23,6 @@
|
||||
*/
|
||||
#include "qemu-common.h"
|
||||
#include "qemu-timer.h"
|
||||
#include "qemu-char.h"
|
||||
#include "qemu-log.h"
|
||||
#include "block_int.h"
|
||||
#include "module.h"
|
||||
|
@ -18,7 +18,6 @@
|
||||
*/
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "qemu-char.h"
|
||||
#include "net.h"
|
||||
#include "bt-host.h"
|
||||
#include "main-loop.h"
|
||||
|
@ -18,7 +18,6 @@
|
||||
*/
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "qemu-char.h"
|
||||
#include "net.h"
|
||||
#include "hw/bt.h"
|
||||
#include "main-loop.h"
|
||||
|
@ -16,7 +16,6 @@
|
||||
#include "qemu-common.h"
|
||||
#include "hw/hw.h"
|
||||
#include "qemu-timer.h"
|
||||
#include "qemu-char.h"
|
||||
#include "buffered_file.h"
|
||||
|
||||
//#define DEBUG_BUFFERED_FILE
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include "console.h"
|
||||
#include "qemu-timer.h"
|
||||
#include "qmp-commands.h"
|
||||
#include "qemu-char.h"
|
||||
|
||||
//#define DEBUG_CONSOLE
|
||||
#define DEFAULT_BACKSCROLL 512
|
||||
|
@ -1,7 +1,6 @@
|
||||
#ifndef CONSOLE_H
|
||||
#define CONSOLE_H
|
||||
|
||||
#include "qemu-char.h"
|
||||
#include "qemu-pixman.h"
|
||||
#include "qdict.h"
|
||||
#include "notify.h"
|
||||
|
1
hmp.c
1
hmp.c
@ -15,6 +15,7 @@
|
||||
|
||||
#include "hmp.h"
|
||||
#include "net.h"
|
||||
#include "qemu-char.h"
|
||||
#include "qemu-option.h"
|
||||
#include "qemu-timer.h"
|
||||
#include "qmp-commands.h"
|
||||
|
@ -12,7 +12,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "qemu-char.h"
|
||||
#include "fsdev/qemu-fsdev.h"
|
||||
#include "qemu-thread.h"
|
||||
#include "qemu-coroutine.h"
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "migration.h"
|
||||
#include "qerror.h"
|
||||
#include "event_notifier.h"
|
||||
#include "qemu-char.h"
|
||||
|
||||
#include <sys/mman.h>
|
||||
#include <sys/types.h>
|
||||
|
@ -1,8 +1,6 @@
|
||||
#include "sysemu.h"
|
||||
#include "cpu.h"
|
||||
#include "qemu-char.h"
|
||||
#include "sysemu.h"
|
||||
#include "qemu-char.h"
|
||||
#include "helper_regs.h"
|
||||
#include "hw/spapr.h"
|
||||
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include "strongarm.h"
|
||||
#include "qemu-error.h"
|
||||
#include "arm-misc.h"
|
||||
#include "qemu-char.h"
|
||||
#include "sysemu.h"
|
||||
#include "ssi.h"
|
||||
|
||||
|
@ -36,7 +36,6 @@
|
||||
#include <sys/uio.h>
|
||||
|
||||
#include "hw.h"
|
||||
#include "qemu-char.h"
|
||||
#include "xen_backend.h"
|
||||
#include "xen_blkif.h"
|
||||
#include "blockdev.h"
|
||||
|
@ -39,7 +39,6 @@
|
||||
#include "net.h"
|
||||
#include "net/checksum.h"
|
||||
#include "net/util.h"
|
||||
#include "qemu-char.h"
|
||||
#include "xen_backend.h"
|
||||
|
||||
#include <xen/io/netif.h>
|
||||
|
@ -23,7 +23,6 @@
|
||||
*/
|
||||
|
||||
#include "sysbus.h"
|
||||
#include "qemu-char.h"
|
||||
#include "qemu-timer.h"
|
||||
#include "ptimer.h"
|
||||
#include "qemu-log.h"
|
||||
|
@ -23,7 +23,6 @@
|
||||
*/
|
||||
|
||||
#include "sysbus.h"
|
||||
#include "qemu-char.h"
|
||||
#include "qemu-log.h"
|
||||
#include "net.h"
|
||||
#include "net/checksum.h"
|
||||
|
@ -36,6 +36,7 @@
|
||||
#include "sysbus.h"
|
||||
#include "flash.h"
|
||||
#include "blockdev.h"
|
||||
#include "qemu-char.h"
|
||||
#include "xtensa_bootparam.h"
|
||||
|
||||
typedef struct LxBoardDesc {
|
||||
|
@ -24,7 +24,6 @@
|
||||
|
||||
#include "config-host.h"
|
||||
#include "qemu-common.h"
|
||||
#include "qemu-char.h"
|
||||
#include "qemu-queue.h"
|
||||
#include "qemu-aio.h"
|
||||
#include "main-loop.h"
|
||||
|
@ -18,7 +18,6 @@
|
||||
#include "qemu-common.h"
|
||||
#include "qemu_socket.h"
|
||||
#include "migration.h"
|
||||
#include "qemu-char.h"
|
||||
#include "buffered_file.h"
|
||||
#include "block.h"
|
||||
#include <sys/types.h>
|
||||
|
@ -17,7 +17,6 @@
|
||||
#include "qemu_socket.h"
|
||||
#include "migration.h"
|
||||
#include "monitor.h"
|
||||
#include "qemu-char.h"
|
||||
#include "buffered_file.h"
|
||||
#include "block.h"
|
||||
#include "qemu_socket.h"
|
||||
|
@ -16,7 +16,6 @@
|
||||
#include "qemu-common.h"
|
||||
#include "qemu_socket.h"
|
||||
#include "migration.h"
|
||||
#include "qemu-char.h"
|
||||
#include "buffered_file.h"
|
||||
#include "block.h"
|
||||
|
||||
|
@ -16,7 +16,6 @@
|
||||
#include "qemu-common.h"
|
||||
#include "qemu_socket.h"
|
||||
#include "migration.h"
|
||||
#include "qemu-char.h"
|
||||
#include "buffered_file.h"
|
||||
#include "block.h"
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
#define MONITOR_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "qemu-char.h"
|
||||
#include "qerror.h"
|
||||
#include "qdict.h"
|
||||
#include "block.h"
|
||||
|
@ -35,6 +35,7 @@
|
||||
#include "monitor.h"
|
||||
#include "qemu_socket.h"
|
||||
#include "slirp/libslirp.h"
|
||||
#include "qemu-char.h"
|
||||
|
||||
static int get_str_sep(char *buf, int buf_size, const char **pp, int sep)
|
||||
{
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "net.h"
|
||||
#include "clients.h"
|
||||
#include "monitor.h"
|
||||
#include "qemu-char.h"
|
||||
#include "qemu-common.h"
|
||||
#include "qemu-error.h"
|
||||
#include "qemu-option.h"
|
||||
|
@ -37,7 +37,6 @@
|
||||
#include "clients.h"
|
||||
#include "monitor.h"
|
||||
#include "sysemu.h"
|
||||
#include "qemu-char.h"
|
||||
#include "qemu-common.h"
|
||||
#include "qemu-error.h"
|
||||
|
||||
|
@ -27,7 +27,6 @@
|
||||
|
||||
#include "net.h"
|
||||
#include "clients.h"
|
||||
#include "qemu-char.h"
|
||||
#include "qemu-common.h"
|
||||
#include "qemu-option.h"
|
||||
|
||||
|
1
qmp.c
1
qmp.c
@ -16,6 +16,7 @@
|
||||
#include "qemu-common.h"
|
||||
#include "sysemu.h"
|
||||
#include "qmp-commands.h"
|
||||
#include "qemu-char.h"
|
||||
#include "ui/qemu-spice.h"
|
||||
#include "ui/vnc.h"
|
||||
#include "kvm.h"
|
||||
|
1
savevm.c
1
savevm.c
@ -76,7 +76,6 @@
|
||||
#include "monitor.h"
|
||||
#include "sysemu.h"
|
||||
#include "qemu-timer.h"
|
||||
#include "qemu-char.h"
|
||||
#include "audio/audio.h"
|
||||
#include "migration.h"
|
||||
#include "qemu_socket.h"
|
||||
|
@ -24,7 +24,6 @@
|
||||
|
||||
#include "qemu-option.h"
|
||||
#include "qemu-config.h"
|
||||
#include "qemu-char.h"
|
||||
#include "monitor.h"
|
||||
|
||||
extern int using_spice;
|
||||
|
Loading…
Reference in New Issue
Block a user