diff options
author | Igor Mammedov <imammedo@redhat.com> | 2013-10-01 17:44:32 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2013-10-14 17:11:45 +0300 |
commit | 008e05662ae5ff314b2b8462508ffd4b40503369 (patch) | |
tree | 0791325cbbe6912f16fb02b50b7ca42d7d93fe4e /include/qom | |
parent | c31d04b516b183b02336f8cce65a41bd547f6f6b (diff) | |
download | qemu-008e05662ae5ff314b2b8462508ffd4b40503369.zip qemu-008e05662ae5ff314b2b8462508ffd4b40503369.tar.gz qemu-008e05662ae5ff314b2b8462508ffd4b40503369.tar.bz2 |
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.h | 2 |
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; |