qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [5933] Fix some new warnings introduced after r5022


From: Blue Swirl
Subject: [Qemu-devel] [5933] Fix some new warnings introduced after r5022
Date: Sun, 07 Dec 2008 19:30:20 +0000

Revision: 5933
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5933
Author:   blueswir1
Date:     2008-12-07 19:30:18 +0000 (Sun, 07 Dec 2008)

Log Message:
-----------
Fix some new warnings introduced after r5022

Modified Paths:
--------------
    trunk/gdbstub.c
    trunk/hw/virtio.c
    trunk/net.c
    trunk/vl.c

Modified: trunk/gdbstub.c
===================================================================
--- trunk/gdbstub.c     2008-12-07 19:20:43 UTC (rev 5932)
+++ trunk/gdbstub.c     2008-12-07 19:30:18 UTC (rev 5933)
@@ -1602,8 +1602,6 @@
     return RS_IDLE;
 }
 
-extern void tb_flush(CPUState *env);
-
 void gdb_set_stop_cpu(CPUState *env)
 {
     gdbserver_state->c_cpu = env;

Modified: trunk/hw/virtio.c
===================================================================
--- trunk/hw/virtio.c   2008-12-07 19:20:43 UTC (rev 5932)
+++ trunk/hw/virtio.c   2008-12-07 19:30:18 UTC (rev 5933)
@@ -485,7 +485,7 @@
     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;

Modified: trunk/net.c
===================================================================
--- trunk/net.c 2008-12-07 19:20:43 UTC (rev 5932)
+++ trunk/net.c 2008-12-07 19:30:18 UTC (rev 5933)
@@ -284,8 +284,8 @@
     return 0;
 }
 
-#ifndef _WIN32
-int parse_unix_path(struct sockaddr_un *uaddr, const char *str)
+#if !defined(_WIN32) && 0
+static int parse_unix_path(struct sockaddr_un *uaddr, const char *str)
 {
     const char *p;
     int len;

Modified: trunk/vl.c
===================================================================
--- trunk/vl.c  2008-12-07 19:20:43 UTC (rev 5932)
+++ trunk/vl.c  2008-12-07 19:30:18 UTC (rev 5933)
@@ -3526,7 +3526,7 @@
 }
 
 #ifdef _WIN32
-void host_main_loop_wait(int *timeout)
+static void host_main_loop_wait(int *timeout)
 {
     int ret, ret2, i;
     PollingEntry *pe;
@@ -3570,7 +3570,7 @@
     *timeout = 0;
 }
 #else
-void host_main_loop_wait(int *timeout)
+static void host_main_loop_wait(int *timeout)
 {
 }
 #endif






reply via email to

[Prev in Thread] Current Thread [Next in Thread]