qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Blue Swirl <blauwirbel@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [5933] Fix some new warnings introduced after r5022
Date: Sun, 07 Dec 2008 19:30:20 +0000	[thread overview]
Message-ID: <E1L9PKe-000245-Ko@cvs.savannah.gnu.org> (raw)

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	other threads:[~2008-12-07 19:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-07 19:30 Blue Swirl [this message]
2008-12-07 20:44 ` [Qemu-devel] [5933] Fix some new warnings introduced after r5022 Andreas Färber
2008-12-07 20:51   ` Blue Swirl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1L9PKe-000245-Ko@cvs.savannah.gnu.org \
    --to=blauwirbel@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).