The vgonel function isnt declarated in any header, the vgonel prototype in vgone(9) isnt correct - found by Ben Kaduk <ka...@mit.edu> -- Lars Hartmann <l...@chaotika.org>
fixed vgonel prototype in vgone.9 - found by Ben Kaduk <ka...@mit.edu> From: Lars Hartmann <l...@chaotika.org> --- share/man/man9/vgone.9 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/share/man/man9/vgone.9 b/share/man/man9/vgone.9 index fa30c1e..a23d468 100644 --- a/share/man/man9/vgone.9 +++ b/share/man/man9/vgone.9 @@ -38,7 +38,7 @@ .Ft void .Fn vgone "struct vnode *vp" .Ft void -.Fn vgonel "struct vnode *vp" "struct thread *td" +.Fn vgonel "struct vnode *vp" .Sh DESCRIPTION .Fn vgone and
fix implicit declaration warning - found by Ben Kaduk <ka...@mit.edu> From: Lars Hartmann <l...@chaotika.org> --- sys/sys/vnode.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h index e82f8ea..8ec8d1f 100644 --- a/sys/sys/vnode.h +++ b/sys/sys/vnode.h @@ -626,6 +626,7 @@ void vdestroy(struct vnode *); int vflush(struct mount *mp, int rootrefs, int flags, struct thread *td); int vget(struct vnode *vp, int lockflag, struct thread *td); void vgone(struct vnode *vp); +void vgone(struct vnode *vp); void vhold(struct vnode *); void vholdl(struct vnode *); int vinvalbuf(struct vnode *vp, int save, int slpflag, int slptimeo);
_______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"