提交 7c829863 编写于 作者: B blueswir1

Fix slirp compilation failure when using a newer gcc


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3505 c046a42c-6fe2-441c-8c8c-71466251a162
上级 33189d31
...@@ -63,7 +63,9 @@ struct emu_t { ...@@ -63,7 +63,9 @@ struct emu_t {
struct emu_t *next; struct emu_t *next;
}; };
#ifndef CONFIG_QEMU
extern struct emu_t *tcpemu; extern struct emu_t *tcpemu;
#endif
extern int x_port, x_server, x_display; extern int x_port, x_server, x_display;
......
...@@ -559,7 +559,10 @@ static const struct tos_t tcptos[] = { ...@@ -559,7 +559,10 @@ static const struct tos_t tcptos[] = {
{0, 0, 0, 0} {0, 0, 0, 0}
}; };
static struct emu_t *tcpemu = 0; #ifdef CONFIG_QEMU
static
#endif
struct emu_t *tcpemu = 0;
/* /*
* Return TOS according to the above table * Return TOS according to the above table
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册