summaryrefslogtreecommitdiffstats
path: root/slirp
diff options
context:
space:
mode:
authorbellard2006-04-30 23:34:15 +0200
committerbellard2006-04-30 23:34:15 +0200
commit3f423c9c8fe197af5fa3b5945bc7d3f3ceec3512 (patch)
tree650548f19383a1af71838d9cc29add21a75ecea7 /slirp
parentupdate (diff)
downloadqemu-3f423c9c8fe197af5fa3b5945bc7d3f3ceec3512.tar.gz
qemu-3f423c9c8fe197af5fa3b5945bc7d3f3ceec3512.tar.xz
qemu-3f423c9c8fe197af5fa3b5945bc7d3f3ceec3512.zip
removed warnings
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1871 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'slirp')
-rw-r--r--slirp/libslirp.h2
-rw-r--r--slirp/slirp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/slirp/libslirp.h b/slirp/libslirp.h
index 36c8ec21fd..a9260afeb3 100644
--- a/slirp/libslirp.h
+++ b/slirp/libslirp.h
@@ -32,7 +32,7 @@ int slirp_add_exec(int do_pty, const char *args, int addr_low_byte,
int guest_port);
extern const char *tftp_prefix;
-extern const char slirp_hostname[33];
+extern char slirp_hostname[33];
#ifdef __cplusplus
}
diff --git a/slirp/slirp.c b/slirp/slirp.c
index b4ab12a088..1331d0ead7 100644
--- a/slirp/slirp.c
+++ b/slirp/slirp.c
@@ -25,7 +25,7 @@ struct ex_list *exec_list;
/* XXX: suppress those select globals */
fd_set *global_readfds, *global_writefds, *global_xfds;
-const char slirp_hostname[33];
+char slirp_hostname[33];
#ifdef _WIN32