From owner-cvs-all Thu Nov 28 15:30:43 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D21B237B401; Thu, 28 Nov 2002 15:30:42 -0800 (PST) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D96143EC2; Thu, 28 Nov 2002 15:30:42 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.6/8.12.6) with ESMTP id gASNUflI057974 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Thu, 28 Nov 2002 18:30:41 -0500 (EST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.6/8.12.6/Submit) id gASNUeSt057971; Thu, 28 Nov 2002 18:30:40 -0500 (EST) (envelope-from wollman) Date: Thu, 28 Nov 2002 18:30:40 -0500 (EST) From: Garrett Wollman Message-Id: <200211282330.gASNUeSt057971@khavrinen.lcs.mit.edu> To: Doug Rabson Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys rman.h src/sys/kern subr_rman.c In-Reply-To: <1038397024.8963.1.camel@builder02.qubesoft.com> References: <200211270355.gAR3tMQh036625@repoman.freebsd.org> <1038397024.8963.1.camel@builder02.qubesoft.com> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG < said: > Can you move the structures out of the public header file now? I > originally wanted to hide the structures inside the implementation but > Garret wanted to allow direct access to the structures, I seem to > remember. The macros were a compromise. Actually, no -- I wrote them that way because I'm the sort of person who gets bothered about taking the overhead of a function call for something that small. However, I deliberately made the macros look like functions so that it would be easy to do what Warner just did should it prove necessary or useful. -GAWollman -- Garrett A. Wollman | [G]enes make enzymes, and enzymes control the rates of wollman@lcs.mit.edu | chemical processes. Genes do not make ``novelty- Opinions not those of| seeking'' or any other complex and overt behavior. MIT, LCS, CRS, or NSA| - Stephen Jay Gould (1941-2002) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message