From owner-freebsd-current Sun Feb 9 3:48: 2 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3697537B401 for ; Sun, 9 Feb 2003 03:47:54 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0038943FCB for ; Sun, 9 Feb 2003 03:47:52 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id WAA23820; Sun, 9 Feb 2003 22:47:43 +1100 Date: Sun, 9 Feb 2003 22:47:47 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Kris Kennaway Cc: current@FreeBSD.ORG Subject: Re: _fpathconf() and __semctl() prototypes In-Reply-To: <20030208230626.GA31434@rot13.obsecurity.org> Message-ID: <20030209224319.C25436-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 8 Feb 2003, Kris Kennaway wrote: > On Sat, Feb 08, 2003 at 02:59:30PM -0800, Kris Kennaway wrote: > > Can someone take a look at lib/libc/gen/semctl.c and tell me where > > the __semctl() sysctl should be prototyped? > > Also _fpathconf() in lib/libc/gen/statvfs.c _fpathconf() is quite different from __semctl. It is not a syscall. It is a weak alias for fpathconf() which is prototyped normally in . The prototype for fpathconf() should be turned into a prototype for _fpathconf() by "namespace.h", but statvfs.c is missing theinclude of so this doesn't happen. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message