Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2001 11:15:52 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Peter Wemm <peter@wemm.org>
Cc:        Brian Somers <brian@Awfulhak.org>, Mike Smith <msmith@FreeBSD.ORG>, <freebsd-arch@FreeBSD.ORG>
Subject:   Re: RFC: unit_list routines 
Message-ID:  <Pine.BSF.4.33.0105241112210.58788-100000@herring.nlsystems.com>
In-Reply-To: <20010524061235.0413C380C@overcee.netplex.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 23 May 2001, Peter Wemm wrote:

> Besides, the sys/kern/unit_list.c and sys/unit_list.h files are badly
> misnamed. At the very least, it should be sys/kern/subr_units.c or
> something along those lines. (next to subr_bus.c and subr_rman.c).
> I still dont believe that we need it though.

Also, there is absolutely no need to define 'struct unit_list' in the
header. It isn't needed if you are using the api - a simple forward
declaration would suffice. Having it defined publically encourages
perverted users to dig around in the implementation's private structures
and can cause unnescessary binary compatibility problems if the
implementation changes.

-- 
Doug Rabson				Mail:  dfr@nlsystems.com
					Phone: +44 20 8348 6160



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0105241112210.58788-100000>