From owner-cvs-all Fri May 18 3:48:38 2001 Delivered-To: cvs-all@freebsd.org Received: from Awfulhak.org (awfulhak.demon.co.uk [194.222.196.252]) by hub.freebsd.org (Postfix) with ESMTP id 9AD8737B422; Fri, 18 May 2001 03:48:29 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.3/8.11.3) with ESMTP id f4IAmRP66713; Fri, 18 May 2001 11:48:27 +0100 (BST) (envelope-from brian@lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.3/8.11.3) with ESMTP id f4IAmQb94138; Fri, 18 May 2001 11:48:26 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200105181048.f4IAmQb94138@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: Doug Rabson Cc: Warner Losh , Brian Somers , Bruce Evans , 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) In-Reply-To: Message from Doug Rabson of "Fri, 18 May 2001 11:39:14 BST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 18 May 2001 11:48:26 +0100 From: Brian Somers Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: X-Loop: FreeBSD.ORG > 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/_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 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 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