Re: [PATCH 1/4] module_param: bool params should still work with #include <stdbool.h>

From: Rusty Russell
Date: Mon Feb 09 2009 - 04:33:56 EST


On Monday 09 February 2009 18:22:26 Rusty Russell wrote:
>
> Code such as "module_param(foo, bool, 0400)" no longer compiles if one
> includes stdbool.h: the ISO standard requires that this "#define bool
> _Bool".

Of course, better fix is not to use stdbool.h, but leave it to the
typedef in kernel/types.h.

Forget this patch...
Rusty.
--
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/