cvs commit: src/sys/net rtsock.c src/sys/netproto/atalk at_proto.c src/sys/netproto/ipx ipx_proto.c src/sys/netproto/natm natm_proto.c
Joerg Sonnenberger
joerg at britannica.bec.de
Mon Oct 23 02:38:36 PDT 2006
On Mon, Oct 23, 2006 at 10:45:51AM +0200, Sascha Wildner wrote:
> Matthew Dillon wrote:
> > If these were previously static and worked, then perhaps the
> > solution is to remove the extern's rather then make the static
> > declarations global.
>
> If I remove the externs then GCC 4.1 will choke on routedomain being
> referenced in the routesw declaration before it's known. The problem is
> that routesw and routedomain reference each other, and the extern tries
> to compensate for that.
I still think you removed the wrong modifer. It should be enough and
correct to remove the extern (or declar it static there as well).
More information about the Commits
mailing list