lkml.org 
[lkml]   [2009]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 1/4] module_param: bool params should still work with #include <stdbool.h>
Date
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.


\
 
 \ /
  Last update: 2009-02-09 10:37    [W:0.022 / U:5.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site