sim-card
/
qemu
Archived
10
0
Fork 0

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
This commit is contained in:
blueswir1 2007-11-01 19:23:51 +00:00
parent 33189d3115
commit 7c829863fb
2 changed files with 6 additions and 1 deletions

View File

@ -63,7 +63,9 @@ struct emu_t {
struct emu_t *next;
};
#ifndef CONFIG_QEMU
extern struct emu_t *tcpemu;
#endif
extern int x_port, x_server, x_display;

View File

@ -559,7 +559,10 @@ static const struct tos_t tcptos[] = {
{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