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

From: ricknu-0
Date: Sun Jul 23 2006 - 15:45:02 EST


Citerar Michael Buesch <mb@xxxxxxxxx>:

> On Sunday 23 July 2006 17:49, ricknu-0@xxxxxxxxxxxxxx wrote:
> > And here comes lucky number four.
>
> > diff --git a/include/asm-i386/types.h b/include/asm-i386/types.h
> > index 4b4b295..3cb84ac 100644
> > --- a/include/asm-i386/types.h
> > +++ b/include/asm-i386/types.h
> > @@ -1,6 +1,8 @@
> > #ifndef _I386_TYPES_H
> > #define _I386_TYPES_H
> >
> > +typedef _Bool bool;
> > +
> > #ifndef __ASSEMBLY__
>
> I'd say that typedef must go into the !__ASSEMBLY__ section here,
> like the other typedefs in that header.

You are right. Misstook the #endif as #else (a downside of programming late).
It is corrected, thanks.

> Greetings Michael.

See ya
/Richard
-
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/