Re: [patch 1/1] consolidate TRUE and FALSE

Xavier Bestel
2006-03-16T17:09:52Z

On Thu, 2006-03-16 at 17:01, Christoph Hellwig wrote:
> > The patch implements TRUE and FALSE in include/linux/kernel.h and removes all
> > the private versions.
> >
> > The patch also kills off a few private implementations of NULL.
>
> NACK. Just kill them all and use 0/1

I'd say use var == 0 and var != 0 (or var and !var).
While FALSE is obviously 0, TRUE isn't only 1.

Xav