From: Sascha Wildner Date: Wed, 10 Aug 2011 08:31:17 +0000 (+0200) Subject: kernel: Staticize naccess(). X-Git-Tag: v2.12.0~233 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/5a3f9be09ba7980d3bc4e1996ca13508b15bcf75 kernel: Staticize naccess(). --- diff --git a/sys/kern/vfs_nlookup.c b/sys/kern/vfs_nlookup.c index f371d89118..ab0a87ead9 100644 --- a/sys/kern/vfs_nlookup.c +++ b/sys/kern/vfs_nlookup.c @@ -30,8 +30,6 @@ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $DragonFly: src/sys/kern/vfs_nlookup.c,v 1.25 2008/07/19 04:43:33 dillon Exp $ */ /* * nlookup() is the 'new' namei interface. Rather then return directory and @@ -938,7 +936,7 @@ fail: * * The passed ncp must be referenced and locked. */ -int +static int naccess(struct nchandle *nch, int nflags, struct ucred *cred, int *nflagsp) { struct vnode *vp;