From owner-freebsd-hackers Thu Oct 21 1:54:14 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.scc.nl (node1374.a2000.nl [62.108.19.116]) by hub.freebsd.org (Postfix) with ESMTP id A170D14BB8 for ; Thu, 21 Oct 1999 01:54:10 -0700 (PDT) (envelope-from freebsd-hackers@scc.nl) Received: (from daemon@localhost) by mail.scc.nl (8.9.3/8.9.3) id KAA98879 for hackers@FreeBSD.org; Thu, 21 Oct 1999 10:37:16 +0200 (CEST) (envelope-from freebsd-hackers@scc.nl) Received: from GATEWAY by dwarf.hq.scc.nl with netnews for hackers@FreeBSD.org (hackers@FreeBSD.org) To: hackers@FreeBSD.org Date: Thu, 21 Oct 1999 10:37:08 +0200 From: Marcel Moolenaar Message-ID: <380ED0B4.1368D296@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <19991020221929.B90211@daemon.ninth-circle.org>, <19991020182247.A71414@dan.emsphone.com> Subject: Re: soundcard.h Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dan Nelson wrote: > > In the last episode (Oct 20), Jeroen Ruigrok/Asmodai said: > > just been messing with some more include files and I am curious about > > something. > > > > [Note: CURRENT system] > > > > I have a soundcard.h in both include/sys and include/machine. > > > > Which should have preference over the other, why does one simply not > > include the other. In other words, why two _exactly_ the same files? > > Actually on my system it's a symlink. My guess is that some committer > was sick of patching every Linux app from to > . soundcard.h has been moved by Peter from machine/ to sys/. A commit logs tells us: \begin{quote} -> , since it's an exported API that's arch neutral and OSS API and Linux API compatable. \end{quote} The link is to prevent breakages. Use #include in new source code. -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ The FreeBSD project mailto:marcel@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message