Subject: Re: Protecting the rest of the kerner headers against multiple inclusion
To: Christos Zoulas <christos@zoulas.com>
From: Simon Burge <simonb@netbsd.org>
List: tech-kern
Date: 09/11/1999 18:13:39
Christos Zoulas wrote:

> The proposal is to have the last component of the path for MI code
> and the machine name for MD code.
> 
> MI: _SYS_TYPES_H_ _NETINET_IN_H_
> 
> MD: _I386_TYPES_H_ _I368_ENDIAN_H_ *OR*
> MD: _MACHINE_TYPES_H_ _MACHINE_ENDIAN_H_ 
> 
> I think that the first is better for MD code, the disadvantage being that
> you will be able to include MD files from multiple archs... But that is
> screwed up anyway, and should be allowed if you know what you are doing.

Maybe _MACHINE_ARCH_TYPES_H and _MACHINE_TYPES_H of you go with the
latter MD idea - things in both arch/mips/include and arch/pmax/include
come to mind.  I think the former MD choice would look better...

Simon.