Subject: Re: CVS commit: src/sys/sys
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: source-changes
Date: 01/21/2008 16:48:01
In article <20080121112557.585C111703@yamt.dyndns.org>,
YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp> wrote:
>> Module Name:	src
>> Committed By:	rmind
>> Date:		Mon Jan 21 00:27:24 UTC 2008
>> 
>> Modified Files:
>> 	src/sys/sys: types.h
>> 
>> Log Message:
>> Move the cpuid_t type-defintion out of the _NETBSD_SOURCE condition.  Should
>> fix the compilation of various applications.  Discussed with <martin>.
>> 
>> 
>> To generate a diff of this commit:
>> cvs rdiff -r1.78 -r1.79 src/sys/sys/types.h
>> 
>> Please note that diffs are not public domain; they are subject to the
>> copyright notices on the relevant files.
>
>doesn't it contradict the purpose of _NETBSD_SOURCE?

Yes, and this makes visible cpuid_t which is not an any standard that
I know off. Anyway, I had committed the fix in pthread.h, not to include
it unless _NETBSD_SOURCE was defined.

christos