Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Feb 1995 07:20:35 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, wollman@halloran-eldar.lcs.mit.edu
Cc:        CVS-commiters@freefall.cdrom.com, cvs-usrsbin@freefall.cdrom.com
Subject:   Re: cvs commit: src/usr.sbin/lsdev i386.c
Message-ID:  <199502072020.HAA03028@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> I asked Stefan to think about including less goop in <machine/devconf.h>.
>> ...

>Hmmm.  I don't belong to that religion that says that no header files
>should ever include other header files and it's the responsibility for
>the poor programmer to make sure that every program includes every
>header file in the universe directly in case it's needed somewhere.

I belong to that religion that says that each system header file should
not depend on anything outside itself or export more than necessary.
For devconf.h and pci, this means not exporting h/w register bits or pci
internal functions from pci and/or not importing them into devconf.h.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199502072020.HAA03028>