From patchwork Mon Aug 20 04:45:00 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: qemu-common: Declare qemu_irq earlier Date: Sun, 19 Aug 2012 18:45:00 -0000 From: Stefan Weil X-Patchwork-Id: 178650 Message-Id: <1345437900-8001-1-git-send-email-sw@weilnetz.de> 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;