diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-01 19:23:51 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-01 19:23:51 +0000 |
commit | 7c829863fb83e39a77859cfc263441670d9f058a (patch) | |
tree | 98537a1a138c2b9209bff48b3eb5c220ca98a206 /slirp/tcp_subr.c | |
parent | 33189d31154c1738f0897a8f3475f1ecdaca9c78 (diff) |
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
Diffstat (limited to 'slirp/tcp_subr.c')
-rw-r--r-- | slirp/tcp_subr.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/slirp/tcp_subr.c b/slirp/tcp_subr.c index 7d71270542..ba1296d4bb 100644 --- a/slirp/tcp_subr.c +++ b/slirp/tcp_subr.c @@ -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 |