From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37344) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG7Ep-0006qa-C2 for qemu-devel@nongnu.org; Thu, 23 Jun 2016 12:12:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bG7Ek-0004aL-CD for qemu-devel@nongnu.org; Thu, 23 Jun 2016 12:12:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59647) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG7Ek-0004a2-61 for qemu-devel@nongnu.org; Thu, 23 Jun 2016 12:12:14 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (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 0DB1977354 for ; Thu, 23 Jun 2016 16:12:13 +0000 (UTC) From: Markus Armbruster Date: Thu, 23 Jun 2016 18:12:09 +0200 Message-Id: <1466698330-6021-5-git-send-email-armbru@redhat.com> In-Reply-To: <1466698330-6021-1-git-send-email-armbru@redhat.com> References: <1466698330-6021-1-git-send-email-armbru@redhat.com> Subject: [Qemu-devel] [PATCH RFC 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: eblake@redhat.com, mst@redhat.com, pbonzini@redhat.com Signed-off-by: Markus Armbruster --- include/hw/irq.h | 2 -- include/qemu/typedefs.h | 1 + tests/Makefile.include | 2 -- 3 files changed, 1 insertion(+), 4 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/qemu/typedefs.h b/include/qemu/typedefs.h index f9745c4..f7c27a9 100644 --- a/include/qemu/typedefs.h +++ b/include/qemu/typedefs.h @@ -31,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; diff --git a/tests/Makefile.include b/tests/Makefile.include index e20f437..cd2082a 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -543,11 +543,9 @@ blacklisted-headers := \ include/hw/input/hid.h \ include/hw/intc/allwinner-a10-pic.h \ include/hw/isa/i8257.h \ - include/hw/isa/vt82c686.h \ include/hw/kvm/clock.h \ include/hw/mips/bios.h \ include/hw/mips/cpudevs.h \ - include/hw/mips/mips.h \ include/hw/misc/mips_cmgcr.h \ include/hw/misc/mips_cpc.h \ include/hw/misc/mips_itu.h \ -- 2.5.5