From mboxrd@z Thu Jan 1 00:00:00 1970 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 From: Markus Armbruster 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> Subject: [Qemu-devel] [PATCH RFC v2 4/5] include: Move typedef qemu_irq to qemu/typedefs.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, pbonzini@redhat.com 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; -- 2.5.5