Received: from eggs.gnu.org ([208.118.235.92]:43910) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3JrO-0004jp-Us for qemu-devel@nongnu.org; Mon, 20 Aug 2012 00:45:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T3JrL-0002ej-Nz for qemu-devel@nongnu.org; Mon, 20 Aug 2012 00:45:06 -0400 From: Stefan Weil Date: Mon, 20 Aug 2012 06:45:00 +0200 Message-Id: <1345437900-8001-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH] qemu-common: Declare qemu_irq earlier List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-trivial@nongnu.org Cc: imammedo@redhat.com, qemu-devel@nongnu.org, Stefan Weil This allows using qemu_irq in the target specific cpu.h. Signed-off-by: Stefan Weil --- qemu-common.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/qemu-common.h b/qemu-common.h index 74a99d3..88a515e 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -19,6 +19,8 @@ struct Monitor; typedef struct Monitor Monitor; typedef struct MigrationParams MigrationParams; +typedef struct IRQState *qemu_irq; + /* we put basic includes here to avoid repeating them in device drivers */ #include #include @@ -276,7 +278,6 @@ typedef struct PCIEPort PCIEPort; typedef struct PCIESlot PCIESlot; typedef struct MSIMessage MSIMessage; typedef struct SerialState SerialState; -typedef struct IRQState *qemu_irq; typedef struct PCMCIACardState PCMCIACardState; typedef struct MouseTransformInfo MouseTransformInfo; typedef struct uWireSlave uWireSlave; -- 1.7.0.4