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

From: Michael Buesch
Date: Sun Jul 23 2006 - 12:12:01 EST


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.

--
Greetings Michael.
-
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/