From owner-freebsd-current Sun Feb 9 13:44:27 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 BE0E137B401 for ; Sun, 9 Feb 2003 13:44:25 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-67-115-74-80.dsl.lsan03.pacbell.net [67.115.74.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id A417F43F3F for ; Sun, 9 Feb 2003 13:44:24 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 404EA67B88; Sun, 9 Feb 2003 13:44:24 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 165F2F71; Sun, 9 Feb 2003 13:44:24 -0800 (PST) Date: Sun, 9 Feb 2003 13:44:24 -0800 From: Kris Kennaway To: Bruce Evans Cc: Kris Kennaway , current@FreeBSD.ORG Subject: Re: _fpathconf() and __semctl() prototypes Message-ID: <20030209214423.GB25044@rot13.obsecurity.org> References: <20030208230626.GA31434@rot13.obsecurity.org> <20030209224319.C25436-100000@gamplex.bde.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QKdGvSO+nmPlgiQ/" Content-Disposition: inline In-Reply-To: <20030209224319.C25436-100000@gamplex.bde.org> User-Agent: Mutt/1.4i 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 --QKdGvSO+nmPlgiQ/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 09, 2003 at 10:47:47PM +1100, Bruce Evans wrote: > On Sat, 8 Feb 2003, Kris Kennaway wrote: >=20 > > 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 >=20 > _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. Thanks for your help. Kris --QKdGvSO+nmPlgiQ/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+Rsu3Wry0BWjoQKURApETAJ42s96mRuIf8r2mdXNfgRt4IAoS1gCgqz4A z9zl6MADHU40uSpuovyOd74= =D92+ -----END PGP SIGNATURE----- --QKdGvSO+nmPlgiQ/-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message