mount.h/radix.h

Jeroen Ruigrok/asmodai asmodai at wxs.nl
Mon Jan 24 22:25:01 PST 2005


-On [20050125 02:32], David Cuthbert (dacut at 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...





More information about the Submit mailing list