DragonFly commits List (threaded) for 2006-10
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: 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
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).
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]