From owner-freebsd-hackers Sun Nov 2 18:12:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA27309 for hackers-outgoing; Sun, 2 Nov 1997 18:12:41 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from cheops.anu.edu.au (cheops.anu.edu.au [150.203.76.24]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA27203 for ; Sun, 2 Nov 1997 18:12:34 -0800 (PST) (envelope-from avalon@coombs.anu.edu.au) Message-Id: <199711030212.SAA27203@hub.freebsd.org> Received: by cheops.anu.edu.au (1.37.109.16/16.2) id AA066213098; Mon, 3 Nov 1997 13:11:38 +1100 From: Darren Reed Subject: the kernel API... To: hackers@freebsd.org Date: Mon, 3 Nov 1997 13:11:38 +1100 (EDT) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Now I guess the question is, which API or include file is right ? /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 ?