mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-31 22:33:53 -06:00
Include qemu-common.h exactly where needed
No header includes qemu-common.h after this commit, as prescribed by qemu-common.h's file comment. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20190523143508.25387-5-armbru@redhat.com> [Rebased with conflicts resolved automatically, except for include/hw/arm/xlnx-zynqmp.h hw/arm/nrf51_soc.c hw/arm/msf2-soc.c block/qcow2-refcount.c block/qcow2-cluster.c block/qcow2-cache.c target/arm/cpu.h target/lm32/cpu.h target/m68k/cpu.h target/mips/cpu.h target/moxie/cpu.h target/nios2/cpu.h target/openrisc/cpu.h target/riscv/cpu.h target/tilegx/cpu.h target/tricore/cpu.h target/unicore32/cpu.h target/xtensa/cpu.h; bsd-user/main.c and net/tap-bsd.c fixed up]
This commit is contained in:
parent
0b8fa32f55
commit
a8d2532645
485 changed files with 103 additions and 397 deletions
|
@ -21,7 +21,6 @@
|
|||
#ifndef QEMU_BASE64_H
|
||||
#define QEMU_BASE64_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#ifndef QEMU_BUFFER_H
|
||||
#define QEMU_BUFFER_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
|
||||
typedef struct Buffer Buffer;
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
#ifndef QEMU_CRC32C_H
|
||||
#define QEMU_CRC32C_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
|
||||
uint32_t crc32c(uint32_t crc, const uint8_t *data, unsigned int length);
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
#ifndef QEMU_EVENT_NOTIFIER_H
|
||||
#define QEMU_EVENT_NOTIFIER_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#ifndef QEMU_FILEMONITOR_H
|
||||
#define QEMU_FILEMONITOR_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
|
||||
|
||||
typedef struct QFileMonitor QFileMonitor;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#ifndef QEMU_MMAP_ALLOC_H
|
||||
#define QEMU_MMAP_ALLOC_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
|
||||
size_t qemu_fd_getpagesize(int fd);
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#ifndef QEMU_QDIST_H
|
||||
#define QEMU_QDIST_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "qemu/bitops.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#ifndef THROTTLE_H
|
||||
#define THROTTLE_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "qapi/qapi-types-block-core.h"
|
||||
#include "qemu/timer.h"
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#ifndef QEMU_TIMER_H
|
||||
#define QEMU_TIMER_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "qemu/bitops.h"
|
||||
#include "qemu/notify.h"
|
||||
#include "qemu/host-utils.h"
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#ifndef QEMU_UUID_H
|
||||
#define QEMU_UUID_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
|
||||
/* Version 4 UUID (pseudo random numbers), RFC4122 4.4. */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue