From owner-freebsd-arch@FreeBSD.ORG Wed Jul 5 15:18:43 2006 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C83A816A4DA for ; Wed, 5 Jul 2006 15:18:43 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6087143D60 for ; Wed, 5 Jul 2006 15:18:41 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k65FFpUk098553; Wed, 5 Jul 2006 09:15:51 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 05 Jul 2006 09:15:56 -0600 (MDT) Message-Id: <20060705.091556.513891519.imp@bsdimp.com> To: phk@phk.freebsd.dk From: "M. Warner Losh" In-Reply-To: <28872.1151526546@critter.freebsd.dk> References: <20060628150227.R75801@fledge.watson.org> <28872.1151526546@critter.freebsd.dk> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: yar@comp.chem.msu.su, arch@freebsd.org Subject: Re: SET, CLR, ISSET in types.h for _KERNEL builds X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jul 2006 15:18:43 -0000 In message: <28872.1151526546@critter.freebsd.dk> "Poul-Henning Kamp" writes: : In message <20060628150227.R75801@fledge.watson.org>, "Andrew R. Reiter" writes : : : > : >I apologize for top posting, but I lost the email that I think my : >point/question pertains to. : > : >Part of this seems to be for compatibility / merging from drivers of other : >OSes, no? If I am wrong, ignore me :-). If this is the case, would it be : >better to create some common other area for things of this nature so that : >it suffices to allow builds, but does not infect other areas of our own : >code base? : : That's what I proposed too: #include This is even lamer. It makes no sense to invent a stupid place for a compatibility define. Might as well put the definition of NULL in limits.h. I'm killing this idea because people hate it. Warner