Peter Memishian writes:
> * What in dls_prop.c makes use of <sys/door.h> or <sys/softmac.h>?
> In general, looks like there some crufty #includes.
As a side note (and perhaps to nobody in particular): when I create a
header file, and sometimes when I update one, I'll create a "foo.c"
file with one line looking something like this in it:
#include <that_one_header.h>
I then compile foo.c, making sure that the header file can stand alone
(meaning that the user isn't forced into adding extra #includes just
to use my header; which also means that it's nicely order-
independent), and then I run lint with -axsNlevel=2 and check for
unnecessary #includes.
Good maintainability depends on good hygiene. ;-}
--
James Carlson, Solaris Networking <[EMAIL PROTECTED]>
Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
_______________________________________________
networking-discuss mailing list
[email protected]