Date: Mon, 11 Sep 1995 13:13:37 -0400 From: "Garrett A. Wollman" <wollman@lcs.mit.edu> To: Bruce Evans <bde@zeta.org.au> Cc: current@freebsd.org Subject: test coverage of LINT Message-ID: <9509111713.AA28627@halloran-eldar.lcs.mit.edu> In-Reply-To: <199509100344.NAA19536@godzilla.zeta.org.au> References: <199509100344.NAA19536@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Sun, 10 Sep 1995 13:44:35 +1000, Bruce Evans <bde@zeta.org.au> said: > do that since the file contents doesn't change like it should. For lfs.h, > the behaviour is different but probably still broken: if the LFS option > isn't enabled, then lfs.h defines NLFS as 0; otherwise lfs.h isn't created. > Nothing actually includes lfs.h so there is no problem in practice (but > config doesn't know that). This is standard behavior, demonstrating the difference between `option' and `pseudo-device' declarations in the config file. Config has no way of knowing which declaration you didn't specify, and so it generates the header as if the unspecified option were a pseudo-device. > NFOO is guaranteed to be > 0 if the driver is configured (except possibly > for cases involving cross references). I'd like to remove these ifdefs. Since they don't hurt anything, I am inclined to leave them in as a reminder to people looking at the source code what "foo.h" and NFOO are for. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9509111713.AA28627>