lkml.org 
[lkml]   [2006]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [patch 1/1] consolidate TRUE and FALSE
    From
    Date
    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


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-03-16 18:12    [W:3.096 / U:0.488 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site