From owner-freebsd-current Thu Feb 13 20: 1:21 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 5009B37B401 for ; Thu, 13 Feb 2003 20:01:20 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A3EF43FBF for ; Thu, 13 Feb 2003 20:01:19 -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 PAA05162; Fri, 14 Feb 2003 15:01:00 +1100 Date: Fri, 14 Feb 2003 15:01:28 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Garrett Wollman Cc: current@FreeBSD.ORG Subject: Re: _fpathconf() and __semctl() prototypes In-Reply-To: <200302140310.h1E3Adq0041398@khavrinen.lcs.mit.edu> Message-ID: <20030214145937.D26991-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 Thu, 13 Feb 2003, Garrett Wollman wrote: > < said: > > > _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. > > It's there in the version on my machine (rev. 1.2 by tjr dated > 2002/09/06). Oops. It's there in my version too. I jumped to the conclusion that it isn't there after grepping for _fpathconf in namespace.h. The problem is that _fpathconf is in the `#if 0' section. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message