summaryrefslogtreecommitdiffstats
path: root/hw/virtio.c
diff options
context:
space:
mode:
authorblueswir12008-12-07 20:30:18 +0100
committerblueswir12008-12-07 20:30:18 +0100
commit69d6451c3e109eb1d2effe18fa6a7173d1aabdd4 (patch)
tree87ff53acbea87411f39069b7861f438c61ff9b90 /hw/virtio.c
parentSH: r2d pci support (Takashi YOSHII). (diff)
downloadqemu-69d6451c3e109eb1d2effe18fa6a7173d1aabdd4.tar.gz
qemu-69d6451c3e109eb1d2effe18fa6a7173d1aabdd4.tar.xz
qemu-69d6451c3e109eb1d2effe18fa6a7173d1aabdd4.zip
Fix some new warnings introduced after r5022
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5933 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/virtio.c')
-rw-r--r--hw/virtio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio.c b/hw/virtio.c
index bfa6a40ac8..24a4b26718 100644
--- a/hw/virtio.c
+++ b/hw/virtio.c
@@ -485,7 +485,7 @@ static void virtio_update_irq(VirtIODevice *vdev)
qemu_set_irq(vdev->pci_dev.irq[0], vdev->isr & 1);
}
-void virtio_reset(void *opaque)
+static void virtio_reset(void *opaque)
{
VirtIODevice *vdev = opaque;
int i;