Date: Mon, 03 Nov 1997 17:50:25 -0800 From: Julian Elischer <julian@whistle.com> To: Darren Reed <avalon@coombs.anu.edu.au> Cc: hackers@FreeBSD.ORG Subject: Re: the kernel API... Message-ID: <345E7F61.52BFA1D7@whistle.com> References: <199711030212.SAA27203@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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) > > /usr/include/machine/spl.h:122: conflicting types for `splbio' > /usr/include/sys/systm.h:187: previous declaration of `splbio' > /usr/include/machine/spl.h:123: conflicting types for `splclock' > /usr/include/sys/systm.h:188: previous declaration of `splclock' > /usr/include/machine/spl.h: In function `splclock': > /usr/include/machine/spl.h:123: `HWI_MASK' undeclared (first use this > function) > /usr/include/machine/spl.h:123: (Each undeclared identifier is reported only > onc > e > /usr/include/machine/spl.h:123: for each function it appears in.) > /usr/include/machine/spl.h: At top level: > /usr/include/machine/spl.h:124: conflicting types for `splhigh' > /usr/include/sys/systm.h:189: previous declaration of `splhigh' > /usr/include/machine/spl.h: In function `splhigh': > /usr/include/machine/spl.h:124: `HWI_MASK' undeclared (first use this > function) > /usr/include/machine/spl.h: At top level: > /usr/include/machine/spl.h:125: conflicting types for `splimp' > /usr/include/sys/systm.h:190: previous declaration of `splimp' > /usr/include/machine/spl.h:126: conflicting types for `splnet' > /usr/include/sys/systm.h:191: previous declaration of `splnet' > /usr/include/machine/spl.h: In function `splnet': > /usr/include/machine/spl.h:126: `NHWI' undeclared (first use this function) > /usr/include/machine/spl.h: At top level: > /usr/include/machine/spl.h:127: conflicting types for `splsoftclock' > /usr/include/sys/systm.h:199: previous declaration of `splsoftclock' > /usr/include/machine/spl.h:128: conflicting types for `splsofttty' > /usr/include/sys/systm.h:200: previous declaration of `splsofttty' > /usr/include/machine/spl.h: In function `splsofttty': > /usr/include/machine/spl.h:128: `NHWI' undeclared (first use this function) > /usr/include/machine/spl.h: At top level: > /usr/include/machine/spl.h:129: conflicting types for `splstatclock' > /usr/include/sys/systm.h:201: previous declaration of `splstatclock' > /usr/include/machine/spl.h:130: conflicting types for `spltty' > /usr/include/sys/systm.h:202: previous declaration of `spltty' > /usr/include/machine/spl.h:131: conflicting types for `splvm' > /usr/include/sys/systm.h:203: previous declaration of `splvm' > /usr/include/sys/systm.h:203: previous declaration of `splvm' > /usr/include/machine/spl.h:135: warning: static declaration for `spl0' > > (from -current, I believe) Are you sure you guys aren't trying to turn > FreeBSD into Linux ?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?345E7F61.52BFA1D7>