From patchwork Fri Jun 24 14:19:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Armbruster X-Patchwork-Id: 640258 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rbhKY74B7z9sDC for ; Sat, 25 Jun 2016 00:58:25 +1000 (AEST) Received: from localhost ([::1]:44111 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGSYp-0003BY-Vj for incoming@patchwork.ozlabs.org; Fri, 24 Jun 2016 10:58:24 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33093) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGRx6-00024c-Mw for qemu-devel@nongnu.org; Fri, 24 Jun 2016 10:19:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGRx2-000564-Fn for qemu-devel@nongnu.org; Fri, 24 Jun 2016 10:19:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGRx2-00055x-AL for qemu-devel@nongnu.org; Fri, 24 Jun 2016 10:19:20 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id EAE146540D; Fri, 24 Jun 2016 14:19:19 +0000 (UTC) Received: from blackfin.pond.sub.org (ovpn-116-36.ams2.redhat.com [10.36.116.36]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u5OEJIsW012909 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 24 Jun 2016 10:19:19 -0400 Received: by blackfin.pond.sub.org (Postfix, from userid 1000) id BEB31105A36E; Fri, 24 Jun 2016 16:19:17 +0200 (CEST) From: Markus Armbruster To: qemu-devel@nongnu.org Date: Fri, 24 Jun 2016 16:19:16 +0200 Message-Id: <1466777957-5126-5-git-send-email-armbru@redhat.com> In-Reply-To: <1466777957-5126-1-git-send-email-armbru@redhat.com> References: <1466777957-5126-1-git-send-email-armbru@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Fri, 24 Jun 2016 14:19:20 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH RFC v2 4/5] include: Move typedef qemu_irq to qemu/typedefs.h X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, pbonzini@redhat.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" While there, drop a comment that has become misleading. Signed-off-by: Markus Armbruster --- include/hw/irq.h | 2 -- include/hw/isa/vt82c686.h | 2 -- include/hw/mips/mips.h | 2 -- include/qemu/typedefs.h | 4 +--- 4 files changed, 1 insertion(+), 9 deletions(-) diff --git a/include/hw/irq.h b/include/hw/irq.h index 4c4c2ea..6a89571 100644 --- a/include/hw/irq.h +++ b/include/hw/irq.h @@ -5,8 +5,6 @@ #define TYPE_IRQ "irq" -typedef struct IRQState *qemu_irq; - typedef void (*qemu_irq_handler)(void *opaque, int n, int level); void qemu_set_irq(qemu_irq irq, int level); diff --git a/include/hw/isa/vt82c686.h b/include/hw/isa/vt82c686.h index ddc8405..471b5e9 100644 --- a/include/hw/isa/vt82c686.h +++ b/include/hw/isa/vt82c686.h @@ -1,5 +1,3 @@ -/* FIXME Does not pass make check-headers, yet! */ - #ifndef HW_VT82C686_H #define HW_VT82C686_H diff --git a/include/hw/mips/mips.h b/include/hw/mips/mips.h index 8f5608b..e0065ce 100644 --- a/include/hw/mips/mips.h +++ b/include/hw/mips/mips.h @@ -1,5 +1,3 @@ -/* FIXME Does not pass make check-headers, yet! */ - #ifndef HW_MIPS_H #define HW_MIPS_H /* Definitions for mips board emulation. */ diff --git a/include/qemu/typedefs.h b/include/qemu/typedefs.h index b113fcf..8482783 100644 --- a/include/qemu/typedefs.h +++ b/include/qemu/typedefs.h @@ -1,9 +1,6 @@ #ifndef QEMU_TYPEDEFS_H #define QEMU_TYPEDEFS_H -/* A load of opaque types so that device init declarations don't have to - pull in all the real definitions. */ - /* Please keep this list in alphabetical order */ typedef struct AdapterInfo AdapterInfo; typedef struct AddressSpace AddressSpace; @@ -34,6 +31,7 @@ typedef struct FWCfgState FWCfgState; typedef struct HCIInfo HCIInfo; typedef struct I2CBus I2CBus; typedef struct I2SCodec I2SCodec; +typedef struct IRQState *qemu_irq; typedef struct ISABus ISABus; typedef struct ISADevice ISADevice; typedef struct IsaDma IsaDma;