mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
qapi: remove qapi/qapi-types-core.h
The file is only including error.h and qerror.h. Prefer explicit inclusion of whatever files are needed. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
79ee7df885
commit
4167c42c5e
10 changed files with 10 additions and 22 deletions
|
@ -11,6 +11,7 @@
|
|||
*/
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "qerror.h"
|
||||
#include "opts-visitor.h"
|
||||
#include "qemu-queue.h"
|
||||
#include "qemu-option-internal.h"
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#include "qemu-queue.h"
|
||||
#include "qemu-common.h"
|
||||
#include "qemu-objects.h"
|
||||
#include "qapi-visit-impl.h"
|
||||
|
||||
typedef struct StackEntry
|
||||
{
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
/*
|
||||
* Core Definitions for QAPI-generated Types
|
||||
*
|
||||
* Copyright IBM, Corp. 2011
|
||||
*
|
||||
* Authors:
|
||||
* Anthony Liguori <aliguori@us.ibm.com>
|
||||
*
|
||||
* This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
|
||||
* See the COPYING.LIB file in the top-level directory.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef QAPI_TYPES_CORE_H
|
||||
#define QAPI_TYPES_CORE_H
|
||||
|
||||
#include "error.h"
|
||||
#include "qerror.h"
|
||||
|
||||
#endif
|
|
@ -12,6 +12,7 @@
|
|||
*/
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "qerror.h"
|
||||
#include "qapi/qapi-visit-core.h"
|
||||
#include "qapi/qapi-visit-impl.h"
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#ifndef QAPI_VISITOR_CORE_H
|
||||
#define QAPI_VISITOR_CORE_H
|
||||
|
||||
#include "qapi/qapi-types-core.h"
|
||||
#include "error.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
typedef struct GenericList
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#ifndef QAPI_VISITOR_IMPL_H
|
||||
#define QAPI_VISITOR_IMPL_H
|
||||
|
||||
#include "qapi/qapi-types-core.h"
|
||||
#include "error.h"
|
||||
#include "qapi/qapi-visit-core.h"
|
||||
|
||||
void input_type_enum(Visitor *v, int *obj, const char *strings[],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue