On Fri, 16 Dec 2011, Josh Triplett wrote:

On Fri, Dec 16, 2011 at 10:08:40PM +0100, Lars-Peter Clausen wrote:
On 12/16/2011 09:37 PM, Julia Lawall wrote:
@@ bool x; @@
- !!x
+ x

I don't think there is a bool type in C...

There is a _Bool type in C99. And bool is usually a typedef for _Bool which can
be found in stdbool.h

And the Linux kernel supports that bool type.

In what way?  Is it the return type of !?  Of && and ||?  Something else?

thanks,
julia
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to