Re: [PATCH 1/2] include/linux: Defining bool, false and true

From: Jeff Garzik
Date: Tue Aug 01 2006 - 17:46:09 EST

H. Peter Anvin wrote:
Jeff Garzik wrote:
H. Peter Anvin wrote:
There is no enum involved.

There should be. It makes more information available to the C compiler, and it makes useful symbols available to the debugger.

_Bool is a native C type; it has all the information the C compiler needs.

"#define true 1" however does not.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at