diff options
| author | Igor Mammedov | 2013-10-01 17:44:32 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2013-10-14 16:11:45 +0200 |
| commit | 008e05662ae5ff314b2b8462508ffd4b40503369 (patch) | |
| tree | 0791325cbbe6912f16fb02b50b7ca42d7d93fe4e /include | |
| parent | hw/pci: removed irq field from PCIDevice (diff) | |
| download | qemu-008e05662ae5ff314b2b8462508ffd4b40503369.tar.gz qemu-008e05662ae5ff314b2b8462508ffd4b40503369.tar.xz qemu-008e05662ae5ff314b2b8462508ffd4b40503369.zip | |
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')
| -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 1a7b71aba5..d9a0063834 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; |
