Date: Sun, 9 Feb 2003 13:44:24 -0800 From: Kris Kennaway <kris@obsecurity.org> To: Bruce Evans <bde@zeta.org.au> Cc: Kris Kennaway <kris@obsecurity.org>, current@FreeBSD.ORG Subject: Re: _fpathconf() and __semctl() prototypes Message-ID: <20030209214423.GB25044@rot13.obsecurity.org> In-Reply-To: <20030209224319.C25436-100000@gamplex.bde.org> References: <20030208230626.GA31434@rot13.obsecurity.org> <20030209224319.C25436-100000@gamplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 > <unistd.h>. The prototype for fpathconf() should be turned into > a prototype for _fpathconf() by "namespace.h", but statvfs.c is missing > theinclude of <unistd.h> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030209214423.GB25044>