[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Fix compilation bug in slirp code
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] [PATCH] Fix compilation bug in slirp code |
Date: |
Thu, 1 Nov 2007 21:19:35 +0200 |
On 11/1/07, Stefan Weil <address@hidden> wrote:
> Hi,
>
> tcpemu is a global variable (declared in slirp/misc.h).
> A later "static" declaration raises a compilation error
> with newer gcc versions. The patch fixes the declaration
> in slirp/tcp_subr.c.
The only user outside tcp_subr.c in misc.c is disabled with #ifdef
CONFIG_QEMU, so I'll fix this by disabling the global definition in
misc.h and 'static' keyword in tcp_subr.c with the same #ifdef.
Thanks anyways.