From e69f67b6d58f366ffaa83a0973948edd1f74b370 Mon Sep 17 00:00:00 2001 From: ths Date: Fri, 30 Mar 2007 16:41:55 +0000 Subject: [PATCH] Fix build failure. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2545 c046a42c-6fe2-441c-8c8c-71466251a162 --- vl.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vl.h b/vl.h index 2bcf81ada2..5e2d8e857f 100644 --- a/vl.h +++ b/vl.h @@ -859,9 +859,11 @@ enum { OPENPIC_EVT_DEBUG, /* Inconditional debug event */ OPENPIC_EVT_RESET, /* Core reset event */ }; +struct CPUPPCState; void openpic_set_irq(void *opaque, int n_IRQ, int level); openpic_t *openpic_init (PCIBus *bus, SetIRQFunc *set_irq, - int *pmem_index, int nb_cpus, CPUPPCState **envp); + int *pmem_index, int nb_cpus, + struct CPUPPCState **envp); /* heathrow_pic.c */ typedef struct HeathrowPICS HeathrowPICS;