diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-06-17 16:32:47 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-06-17 16:32:47 +0000 |
commit | 7d0500c49abe09171260a4a8dd06c312c3e043e9 (patch) | |
tree | aa302263634d860b667a87a62c715e48d831de0d /hw | |
parent | 97374d38583028b33074c69caf296d94cb1b9d5b (diff) |
ioapic: unexport ioapic_set_irq
There's no need to use ioapic_set_irq() outside of ioapic.c, so
make it static.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/apic.h | 1 | ||||
-rw-r--r-- | hw/ioapic.c | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -11,7 +11,6 @@ int apic_accept_pic_intr(CPUState *env); void apic_deliver_pic_intr(CPUState *env, int level); int apic_get_interrupt(CPUState *env); qemu_irq *ioapic_init(void); -void ioapic_set_irq(void *opaque, int vector, int level); void apic_reset_irq_delivered(void); int apic_get_irq_delivered(void); diff --git a/hw/ioapic.c b/hw/ioapic.c index 335da6ef3f..e3f8a46e48 100644 --- a/hw/ioapic.c +++ b/hw/ioapic.c @@ -94,7 +94,7 @@ static void ioapic_service(IOAPICState *s) } } -void ioapic_set_irq(void *opaque, int vector, int level) +static void ioapic_set_irq(void *opaque, int vector, int level) { IOAPICState *s = opaque; |