DragonFly BSD
DragonFly submit List (threaded) for 2005-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: mount.h/radix.h


From: Jeroen Ruigrok/asmodai <asmodai@xxxxxx>
Date: Tue, 25 Jan 2005 07:24:00 +0100

-On [20050125 02:32], David Cuthbert (dacut@xxxxxxxxx) wrote:
>Jeffrey Hsu wrote:
>>Now that C99 defines a standard boolean type, _Bool, how about we just 
>>change all the occurrences of boolean_t in the kernel to _Bool?
>
>_Bool exists as a way of preventing clashes with existing typedefs; it 
>is not intended for use in new code.
>
>The proper C99 way is to #include <stdbool.h>, which then performs:

Usage of 'bool' seems normal then to use in the typedef for boolean_t.
Which was what I was thinking of, instead of the additional typedef for
boolean_t to int.

-- 
Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / kita no mono
Free Tibet! http://www.savetibet.org/ | http://ashemedai.deviantart.com/
http://www.tendra.org/   | http://www.in-nomine.org/
Hypocrisy is the homage which vice pays to virtue...



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]