Date: Sun, 9 Feb 2003 22:47:47 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: Kris Kennaway <kris@obsecurity.org> Cc: current@FreeBSD.ORG Subject: Re: _fpathconf() and __semctl() prototypes Message-ID: <20030209224319.C25436-100000@gamplex.bde.org> In-Reply-To: <20030208230626.GA31434@rot13.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <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. Bruce 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?20030209224319.C25436-100000>