Re: [RFC][PATCH] A generic boolean (version 5)

From: Paul Jackson
Date: Tue Jul 25 2006 - 20:41:49 EST


Richard wrote:
> Regarding the #define false/true in include/linux/stddef.h: ... there
> seems to be no use for it (other then userspace programs).

We tend to be biased against doing things in kernel headers just for
userspace programs. I'd suggest either (1) drop the #define false/true's,
or (2) if a compelling userspace need is presented that wins the day,
at least comment the dang defines.

>From the perspective of what's in the current kernel source, this
pair of defines has lost all sense that I can see. So they need a
justifying comment if they stay.

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.925.600.0401
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/