[PATCH] Fix 'implicit declaration' warning and update vgone(9)

John Baldwin jhb at freebsd.org
Wed Oct 27 13:27:57 UTC 2010


On Wednesday, October 27, 2010 7:33:13 am Sergey Kandaurov wrote:
> On 27 October 2010 10:23, Lars Hartmann <lars at chaotika.org> wrote:
> > The vgonel function isnt declarated in any header, the vgonel prototype
> > in vgone(9) isnt correct - found by Ben Kaduk <kaduk at mit.edu>
> 
> Hi.
> 
> I'm afraid it's just an overlooked man page after many VFS changes in 5.x.
> As vgonel() is a static (i.e. private and not visible from outside) function
> IMO it should be removed from vgone(9) man page.

Agreed.  It certainly should not be added to vnode.h.  I'm curious how the 
reporter is getting a warning since there is a static prototype for vgonel() 
in vfs_subr.c.

-- 
John Baldwin


More information about the freebsd-hackers mailing list