thebeanogamer / rpms / qemu-kvm

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