From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Date: Mon, 7 Jan 2013 16:32:33 -0600 Subject: [U-Boot] [u-boot-release] [PATCH] Introduce a global bool type In-Reply-To: <1357596628-27501-1-git-send-email-yorksun@freescale.com> References: <1357596628-27501-1-git-send-email-yorksun@freescale.com> Message-ID: <50EB4D01.3040304@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de York Sun wrote: > 'bool' is defined in random places. This patch consolidates them into a > single typedef. ... and defines 'bool' in a completely different way, so it doesn't just "consolidate" the definitions. I would add a comment that says that _Bool was introduced in C99, so it should be safe to use this new definition instead of a hand-coded enum. -- Timur Tabi Linux kernel developer at Freescale