module_param: bool params should still work with #include <stdbool.h>
Quoted 4 lines · On Monday 09 February 2009 18:22:26 Rusty Russell wrote:
Code such as "
module_param(foo, bool, 0400)" no longer compiles if one includesstdbool.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.