Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/arch/powerpc/oea
On Mon, Nov 15, 2010 at 02:48:29PM +0900, SODA Noriyuki wrote:
> Well, there is another thing which has to be considered. That is
> name space pollution.
> Header files which are exported to userland (for userland visible APIs)
> should not export random symbols. Only symbols which are defined as
> the interface of the header file are allowed to be exported.
Indeed. Properly speaking though, headers that are exported to
userland should define only the precise symbols that userland needs;
kernel-only material should be kept elsewhere.
We're a long way from that. Someday I'll clean it all up, but I think
it had better wait until after we get version control that supports
rename.
In the meantime, wrapping in _KERNEL is the best we can do...
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index