mirror of https://gitee.com/openkylin/qemu.git
cleanup object.h: include error.h directly
qapi/error.h is simple enough to be included in qom/object.h direcly and prepares qom/object.h to use Error typedef. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
c31d04b516
commit
008e05662a
|
@ -18,9 +18,9 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include "qemu/queue.h"
|
#include "qemu/queue.h"
|
||||||
|
#include "qapi/error.h"
|
||||||
|
|
||||||
struct Visitor;
|
struct Visitor;
|
||||||
struct Error;
|
|
||||||
|
|
||||||
struct TypeImpl;
|
struct TypeImpl;
|
||||||
typedef struct TypeImpl *Type;
|
typedef struct TypeImpl *Type;
|
||||||
|
|
Loading…
Reference in New Issue