Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751137AbWHAVsS (ORCPT ); Tue, 1 Aug 2006 17:48:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751149AbWHAVsS (ORCPT ); Tue, 1 Aug 2006 17:48:18 -0400 Received: from srv5.dvmed.net ([207.36.208.214]:3007 "EHLO mail.dvmed.net") by vger.kernel.org with ESMTP id S1751137AbWHAVsQ (ORCPT ); Tue, 1 Aug 2006 17:48:16 -0400 Message-ID: <44CFCC1B.8080509@garzik.org> Date: Tue, 01 Aug 2006 17:48:11 -0400 From: Jeff Garzik User-Agent: Thunderbird 1.5.0.4 (X11/20060614) MIME-Version: 1.0 To: "H. Peter Anvin" CC: ricknu-0@student.ltu.se, linux-kernel@vger.kernel.org, Andrew Morton , Alexey Dobriyan , Vadim Lobanov , Jan Engelhardt , Shorty Porty , Peter Williams , Michael Buesch , Pekka Enberg , Stefan Richter , larsbj@gullik.net, Paul Jackson , Josef Sipek , Arnd Bergmann , Nicholas Miell , Alan Cox , Lars Noschinski Subject: Re: [PATCH 1/2] include/linux: Defining bool, false and true References: <1154175570.44cb5252d3f09@portal.student.luth.se> <1154176331.44cb554b633ef@portal.student.luth.se> <44CFA934.9010404@zytor.com> <1154466739.44cfc3b34a222@portal.student.luth.se> <44CFC59A.5050609@zytor.com> <44CFC837.5080700@garzik.org> <44CFCABC.6040406@zytor.com> In-Reply-To: <44CFCABC.6040406@zytor.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.3 (----) X-Spam-Report: SpamAssassin version 3.1.3 on srv5.dvmed.net summary: Content analysis details: (-4.3 points, 5.0 required) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 603 Lines: 21 H. Peter Anvin wrote: > Jeff Garzik wrote: >> H. Peter Anvin wrote: >>> There is no enum involved. >> There should be. It makes more information available to the C >> compiler, and it makes useful symbols available to the debugger. > _Bool is a native C type; it has all the information the C compiler needs. "#define true 1" however does not. Jeff - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/