Date: Wed, 15 Oct 1997 08:56:18 -0700 From: Julian Elischer <julian@whistle.com> To: Darren Reed <darrenr@cyber.com.au> Cc: hackers@FreeBSD.ORG Subject: Re: Freebsd 3.0 current fails ipfilter 3.2b8 build (fwd) Message-ID: <3444E7A2.41C67EA6@whistle.com> References: <199710151233.WAA00595@plum.cyber.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
All the "_var.h" files contain variables who'se scope is within the kernel only. The only exception is LKMs which should define KERNEL. I don't know who did this, (I see in the logs it was garrett) but the idea is simply to make it more obvios when you are doing the WRONG thing and including kernel private variables (that are subject to change, and not part of the API) . julian Darren Reed wrote: > > Before I commit a change that will fix this absurdity to FreeBSD (i.e. > include if_var.h from if.h), perhaps someone can explain why this > (seemingly needless) change was made. > > Darren > > > On Wed, 15 Oct 1997, Darren Reed wrote: > > > > > In some mail I received from Ron Bolin, sie wrote > > > > > > > > Just thought I'd pass on these errors while trying to build the 32.b8 > > > > ipfilter on FreeBSD 3.0 current 10-11-97. I'd look further, but I don't > > > > have the time right now. > > > [...] > > > > > > sigh...it wasn't always that bad... > > > > > > I wonder if that's due to freebsd header lossage or some other change > > > which I didn't notice ... > > > > > > sigh. > > > > > > > > Yeah, big sigh, struct ifnet was moved into net/if_var.h, for no real > > advantage. I got these problems with 3.0 snap recently. > > Also there is an ifdef in if.h that includes the struct only > > if KERNEL defined.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3444E7A2.41C67EA6>