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:
Igor Mammedov 2013-10-01 17:44:32 +02:00 committed by Michael S. Tsirkin
parent c31d04b516
commit 008e05662a
1 changed files with 1 additions and 1 deletions

View File

@ -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;