Commit 69d6451c3e109eb1d2effe18fa6a7173d1aabdd4
1 parent
c2f01775
Fix some new warnings introduced after r5022
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5933 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
4 changed files
with
5 additions
and
7 deletions
gdbstub.c
hw/virtio.c
... | ... | @@ -485,7 +485,7 @@ static void virtio_update_irq(VirtIODevice *vdev) |
485 | 485 | qemu_set_irq(vdev->pci_dev.irq[0], vdev->isr & 1); |
486 | 486 | } |
487 | 487 | |
488 | -void virtio_reset(void *opaque) | |
488 | +static void virtio_reset(void *opaque) | |
489 | 489 | { |
490 | 490 | VirtIODevice *vdev = opaque; |
491 | 491 | int i; | ... | ... |
net.c
... | ... | @@ -284,8 +284,8 @@ int parse_host_port(struct sockaddr_in *saddr, const char *str) |
284 | 284 | return 0; |
285 | 285 | } |
286 | 286 | |
287 | -#ifndef _WIN32 | |
288 | -int parse_unix_path(struct sockaddr_un *uaddr, const char *str) | |
287 | +#if !defined(_WIN32) && 0 | |
288 | +static int parse_unix_path(struct sockaddr_un *uaddr, const char *str) | |
289 | 289 | { |
290 | 290 | const char *p; |
291 | 291 | int len; | ... | ... |
vl.c
... | ... | @@ -3526,7 +3526,7 @@ void qemu_system_powerdown_request(void) |
3526 | 3526 | } |
3527 | 3527 | |
3528 | 3528 | #ifdef _WIN32 |
3529 | -void host_main_loop_wait(int *timeout) | |
3529 | +static void host_main_loop_wait(int *timeout) | |
3530 | 3530 | { |
3531 | 3531 | int ret, ret2, i; |
3532 | 3532 | PollingEntry *pe; |
... | ... | @@ -3570,7 +3570,7 @@ void host_main_loop_wait(int *timeout) |
3570 | 3570 | *timeout = 0; |
3571 | 3571 | } |
3572 | 3572 | #else |
3573 | -void host_main_loop_wait(int *timeout) | |
3573 | +static void host_main_loop_wait(int *timeout) | |
3574 | 3574 | { |
3575 | 3575 | } |
3576 | 3576 | #endif | ... | ... |