From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35656) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VR28g-0003wH-3O for qemu-devel@nongnu.org; Tue, 01 Oct 2013 11:45:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VR28X-0000AS-4u for qemu-devel@nongnu.org; Tue, 01 Oct 2013 11:45:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:10225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VR28W-0000AB-TS for qemu-devel@nongnu.org; Tue, 01 Oct 2013 11:45:21 -0400 From: Igor Mammedov Date: Tue, 1 Oct 2013 17:44:32 +0200 Message-Id: <1380642272-12161-1-git-send-email-imammedo@redhat.com> In-Reply-To: <20131001141510.GA14869@redhat.com> References: <20131001141510.GA14869@redhat.com> Subject: [Qemu-devel] [PATCH] cleanup object.h: include error.h directly List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, anthony@codemonkey.ws, mst@redhat.com, armbru@redhat.com, blauwirbel@gmail.com, stefanha@redhat.com, pbonzini@redhat.com, afaerber@suse.de 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 --- it allows to drop 1-2/patches from ACPI tables in QEMU series with following "qom: pull in qemu/typedefs" applying cleanly on top instead of jugling with typedefs.h, doc comments and extending typedefs.h hack further when it's not necessary. --- include/qom/object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 #include #include "qemu/queue.h" +#include "qapi/error.h" struct Visitor; -struct Error; struct TypeImpl; typedef struct TypeImpl *Type; -- 1.8.3.1