Date: Fri, 18 May 2001 11:48:26 +0100 From: Brian Somers <brian@Awfulhak.org> To: Doug Rabson <dfr@nlsystems.com> Cc: Warner Losh <imp@village.org>, Brian Somers <brian@Awfulhak.org>, Bruce Evans <bde@zeta.org.au>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, current@FreeBSD.org, brian@Awfulhak.org Subject: Re: Where to put include files (was: cvs commit: src Makefile.inc1) Message-ID: <200105181048.f4IAmQb94138@hak.lan.Awfulhak.org> In-Reply-To: Message from Doug Rabson <dfr@nlsystems.com> of "Fri, 18 May 2001 11:39:14 BST." <Pine.BSF.4.33.0105181137390.27157-100000@herring.nlsystems.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Thu, 17 May 2001, Warner Losh wrote:
>
> > In message <200105171233.f4HCXhb62786@hak.lan.Awfulhak.org> Brian
> > Somers writes:
> > : Solaris calls it's ioctl files /usr/include/sys/<driver>_io.h so I'd
> > : spell digiio.h /usr/include/sys/digi_io.h.
> >
> > Actually, the more I think about it, the more I like putting it in
> > /usr/include/sys/fooio.h. We have lots of other files there now. The
> > down side to this approach is that it breaks up the driver sources
> > that we've been trying to concentrate into sys/dev/foo/* (or
> > introduces asymetry such that you can't just toss in a -I/sys and have
> > the same tree that gets stuck under /usr/include).
>
> I quite like the fact that the programming interface <sys/fooio.h> is
> separated from the driver implementation. There is less chance that the
> driver writer will expose irrelavent implementation details in the API,
> which in turn makes for a more stable ABI.
I agree, and what's more, bde hasn't disagreed to any such
suggestions....
> --
> Doug Rabson Mail: dfr@nlsystems.com
> Phone: +44 20 8348 6160
--
Brian <brian@Awfulhak.org> <brian@[uk.]FreeBSD.org>
<http://www.Awfulhak.org> <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105181048.f4IAmQb94138>
