From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L9PKr-0006EI-5P for qemu-devel@nongnu.org; Sun, 07 Dec 2008 14:30:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L9PKq-0006Cv-75 for qemu-devel@nongnu.org; Sun, 07 Dec 2008 14:30:32 -0500 Received: from [199.232.76.173] (port=39499 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9PKp-0006Cc-M7 for qemu-devel@nongnu.org; Sun, 07 Dec 2008 14:30:31 -0500 Received: from savannah.gnu.org ([199.232.41.3]:38596 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L9PKo-0002d2-VO for qemu-devel@nongnu.org; Sun, 07 Dec 2008 14:30:31 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1L9PKf-00024F-Fl for qemu-devel@nongnu.org; Sun, 07 Dec 2008 19:30:22 +0000 Received: from blueswir1 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1L9PKe-000245-Ko for qemu-devel@nongnu.org; Sun, 07 Dec 2008 19:30:21 +0000 MIME-Version: 1.0 Errors-To: blueswir1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Blue Swirl Message-Id: Date: Sun, 07 Dec 2008 19:30:20 +0000 Subject: [Qemu-devel] [5933] Fix some new warnings introduced after r5022 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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