summaryrefslogtreecommitdiff
path: root/net.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-07 19:30:18 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-07 19:30:18 +0000
commit5387df9b81ceae9ac6a933b7fe08bed57f5e61ee (patch)
tree87ff53acbea87411f39069b7861f438c61ff9b90 /net.c
parent489719820bd574633a2f57250a7163c50d23bcb3 (diff)
downloadqemu-5387df9b81ceae9ac6a933b7fe08bed57f5e61ee.tar.gz
qemu-5387df9b81ceae9ac6a933b7fe08bed57f5e61ee.tar.bz2
qemu-5387df9b81ceae9ac6a933b7fe08bed57f5e61ee.zip
Fix some new warnings introduced after r5022
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5933 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'net.c')
-rw-r--r--net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net.c b/net.c
index 10d23b41f6..cbf1cdf35c 100644
--- a/net.c
+++ b/net.c
@@ -284,8 +284,8 @@ int parse_host_port(struct sockaddr_in *saddr, const char *str)
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;