]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
cleanup object.h: include error.h directly
authorIgor Mammedov <imammedo@redhat.com>
Tue, 1 Oct 2013 15:44:32 +0000 (17:44 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 14 Oct 2013 14:11:45 +0000 (17:11 +0300)
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>
include/qom/object.h

index 1a7b71aba532e96f5a4d2293b0a0769e60cfe269..d9a0063834d5a582faec36f8be17845d880a3157 100644 (file)
@@ -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;