Fix some new warnings introduced after r5022
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5933 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
c2f01775dd
commit
69d6451c3e
@ -1602,8 +1602,6 @@ static int gdb_handle_packet(GDBState *s, const char *line_buf)
|
|||||||
return RS_IDLE;
|
return RS_IDLE;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern void tb_flush(CPUState *env);
|
|
||||||
|
|
||||||
void gdb_set_stop_cpu(CPUState *env)
|
void gdb_set_stop_cpu(CPUState *env)
|
||||||
{
|
{
|
||||||
gdbserver_state->c_cpu = env;
|
gdbserver_state->c_cpu = env;
|
||||||
|
@ -485,7 +485,7 @@ static void virtio_update_irq(VirtIODevice *vdev)
|
|||||||
qemu_set_irq(vdev->pci_dev.irq[0], vdev->isr & 1);
|
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;
|
VirtIODevice *vdev = opaque;
|
||||||
int i;
|
int i;
|
||||||
|
4
net.c
4
net.c
@ -284,8 +284,8 @@ int parse_host_port(struct sockaddr_in *saddr, const char *str)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef _WIN32
|
#if !defined(_WIN32) && 0
|
||||||
int parse_unix_path(struct sockaddr_un *uaddr, const char *str)
|
static int parse_unix_path(struct sockaddr_un *uaddr, const char *str)
|
||||||
{
|
{
|
||||||
const char *p;
|
const char *p;
|
||||||
int len;
|
int len;
|
||||||
|
4
vl.c
4
vl.c
@ -3526,7 +3526,7 @@ void qemu_system_powerdown_request(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
void host_main_loop_wait(int *timeout)
|
static void host_main_loop_wait(int *timeout)
|
||||||
{
|
{
|
||||||
int ret, ret2, i;
|
int ret, ret2, i;
|
||||||
PollingEntry *pe;
|
PollingEntry *pe;
|
||||||
@ -3570,7 +3570,7 @@ void host_main_loop_wait(int *timeout)
|
|||||||
*timeout = 0;
|
*timeout = 0;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
void host_main_loop_wait(int *timeout)
|
static void host_main_loop_wait(int *timeout)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user