From owner-freebsd-hackers Thu Nov 6 01:04:43 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA02542 for hackers-outgoing; Thu, 6 Nov 1997 01:04:43 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from cheops.anu.edu.au (avalon@cheops.anu.edu.au [150.203.76.24]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA02510 for ; Thu, 6 Nov 1997 01:04:34 -0800 (PST) (envelope-from avalon@coombs.anu.edu.au) Message-Id: <199711060904.BAA02510@hub.freebsd.org> Received: by cheops.anu.edu.au (1.37.109.16/16.2) id AA097977052; Thu, 6 Nov 1997 20:04:12 +1100 From: Darren Reed Subject: Re: the kernel API... To: julian@whistle.com (Julian Elischer) Date: Thu, 6 Nov 1997 20:04:12 +1100 (EDT) Cc: hackers@freebsd.org In-Reply-To: <345E7F61.52BFA1D7@whistle.com> from "Julian Elischer" at Nov 3, 97 05:50:25 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In some mail from Julian Elischer, sie said: > > Darren Reed wrote: > > > > Now I guess the question is, which API or include file is right ? > > If you look at these two files, you will discover that > /usr/include/machine is derived on 386 based BSD from > /usr/src/i86/include > > looking in that directory you will see that spl.h is n longer present. > therefore you have a left-over file.. > these were felt to be machine independent defines and moved elsewhere. > (i.e. systm.h) > > I hope that solves the mystery :) > > julian (who was caught by surprise by the move a little while ago) sigh...well, the code which is responsible for including spl.h and systm.h is this: #if defined(__FreeBSD__) && defined(KERNEL) # include #endif I guess now it will look like this: #if defined(__FreeBSD__) && defined(KERNEL) # if __FreeBSD__ < 3 # include # endif #endif Darren