summaryrefslogtreecommitdiffstats
path: root/include/qom
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2013-10-01 17:44:32 +0200
committerMichael S. Tsirkin <mst@redhat.com>2013-10-14 17:11:45 +0300
commit008e05662ae5ff314b2b8462508ffd4b40503369 (patch)
tree0791325cbbe6912f16fb02b50b7ca42d7d93fe4e /include/qom
parentc31d04b516b183b02336f8cce65a41bd547f6f6b (diff)
downloadhqemu-008e05662ae5ff314b2b8462508ffd4b40503369.zip
hqemu-008e05662ae5ff314b2b8462508ffd4b40503369.tar.gz
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>
Diffstat (limited to 'include/qom')
-rw-r--r--include/qom/object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qom/object.h b/include/qom/object.h
index 1a7b71a..d9a0063 100644
--- a/include/qom/object.h
+++ b/include/qom/object.h
@@ -18,9 +18,9 @@
#include <stdint.h>
#include <stdbool.h>
#include "qemu/queue.h"
+#include "qapi/error.h"
struct Visitor;
-struct Error;
struct TypeImpl;
typedef struct TypeImpl *Type;
OpenPOWER on IntegriCloud