yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone
0a122b
From 5d01df56c48d0ef9f08840598a57fa693ac43dcf Mon Sep 17 00:00:00 2001
0a122b
Message-Id: <5d01df56c48d0ef9f08840598a57fa693ac43dcf.1387298827.git.minovotn@redhat.com>
0a122b
In-Reply-To: <3ed0fb61a3dc912ef036d7ef450bed192090709e.1387298827.git.minovotn@redhat.com>
0a122b
References: <3ed0fb61a3dc912ef036d7ef450bed192090709e.1387298827.git.minovotn@redhat.com>
0a122b
From: "Michael S. Tsirkin" <mst@redhat.com>
0a122b
Date: Tue, 17 Dec 2013 15:17:47 +0100
0a122b
Subject: [PATCH 23/56] cleanup object.h: include error.h directly
0a122b
0a122b
RH-Author: Michael S. Tsirkin <mst@redhat.com>
0a122b
Message-id: <1387293161-4085-24-git-send-email-mst@redhat.com>
0a122b
Patchwork-id: 56329
0a122b
O-Subject: [PATCH qemu-kvm RHEL7.0 v2 23/57] cleanup object.h: include error.h directly
0a122b
Bugzilla: 1034876
0a122b
RH-Acked-by: Igor Mammedov <imammedo@redhat.com>
0a122b
RH-Acked-by: Marcel Apfelbaum <marcel.a@redhat.com>
0a122b
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
0a122b
0a122b
From: Igor Mammedov <imammedo@redhat.com>
0a122b
0a122b
qapi/error.h is simple enough to be included in qom/object.h
0a122b
direcly and prepares qom/object.h to use Error typedef.
0a122b
0a122b
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
0a122b
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
0a122b
(cherry picked from commit 008e05662ae5ff314b2b8462508ffd4b40503369)
0a122b
---
0a122b
 include/qom/object.h | 2 +-
0a122b
 1 file changed, 1 insertion(+), 1 deletion(-)
0a122b
0a122b
Signed-off-by: Michal Novotny <minovotn@redhat.com>
0a122b
---
0a122b
 include/qom/object.h | 2 +-
0a122b
 1 file changed, 1 insertion(+), 1 deletion(-)
0a122b
0a122b
diff --git a/include/qom/object.h b/include/qom/object.h
0a122b
index 23fc048..c37f3ca 100644
0a122b
--- a/include/qom/object.h
0a122b
+++ b/include/qom/object.h
0a122b
@@ -18,9 +18,9 @@
0a122b
 #include <stdint.h>
0a122b
 #include <stdbool.h>
0a122b
 #include "qemu/queue.h"
0a122b
+#include "qapi/error.h"
0a122b
 
0a122b
 struct Visitor;
0a122b
-struct Error;
0a122b
 
0a122b
 struct TypeImpl;
0a122b
 typedef struct TypeImpl *Type;
0a122b
-- 
0a122b
1.7.11.7
0a122b