From owner-freebsd-hackers@FreeBSD.ORG Wed Oct 27 06:23:33 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CDFF106566C for ; Wed, 27 Oct 2010 06:23:33 +0000 (UTC) (envelope-from lars@chaotika.org) Received: from diogenes.chaotika.org (cl-2124.ham-01.de.sixxs.net [IPv6:2001:6f8:900:84b::2]) by mx1.freebsd.org (Postfix) with ESMTP id 1F6978FC18 for ; Wed, 27 Oct 2010 06:23:33 +0000 (UTC) Received: from [192.168.0.109] (intern.tbh.eu [213.146.244.186]) by diogenes.chaotika.org (Postfix) with ESMTPSA id 491C032272F for ; Wed, 27 Oct 2010 08:23:31 +0200 (CEST) From: Lars Hartmann To: freebsd-hackers@freebsd.org Content-Type: multipart/mixed; boundary="=-PROci6iyh13rFY44Y7HR" Date: Wed, 27 Oct 2010 08:23:30 +0200 Message-ID: <1288160610.4280.18.camel@apollon> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Subject: [PATCH] Fix 'implicit declaration' warning and update vgone(9) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Oct 2010 06:23:33 -0000 --=-PROci6iyh13rFY44Y7HR Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit The vgonel function isnt declarated in any header, the vgonel prototype in vgone(9) isnt correct - found by Ben Kaduk -- Lars Hartmann --=-PROci6iyh13rFY44Y7HR Content-Disposition: attachment; filename="vgone.9.patch" Content-Type: text/x-patch; name="vgone.9.patch"; charset="UTF-8" Content-Transfer-Encoding: 7bit fixed vgonel prototype in vgone.9 - found by Ben Kaduk From: Lars Hartmann --- 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 --=-PROci6iyh13rFY44Y7HR Content-Disposition: attachment; filename="vgonel.patch" Content-Type: text/x-patch; name="vgonel.patch"; charset="UTF-8" Content-Transfer-Encoding: 7bit fix implicit declaration warning - found by Ben Kaduk From: Lars Hartmann --- 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); --=-PROci6iyh13rFY44Y7HR--