Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ufs/ufs ufs_makeinode is declared file-static at the top...



details:   https://anonhg.NetBSD.org/src/rev/9b7e3f5131dd
branches:  trunk
changeset: 348809:9b7e3f5131dd
user:      dholland <dholland%NetBSD.org@localhost>
date:      Wed Nov 09 04:12:55 2016 +0000

description:
ufs_makeinode is declared file-static at the top of the file; mark it
at its definition too, for consistency and to avoid misleading casual
passersby.

diffstat:

 sys/ufs/ufs/ufs_vnops.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 99e7070ecb37 -r 9b7e3f5131dd sys/ufs/ufs/ufs_vnops.c
--- a/sys/ufs/ufs/ufs_vnops.c   Wed Nov 09 03:49:38 2016 +0000
+++ b/sys/ufs/ufs/ufs_vnops.c   Wed Nov 09 04:12:55 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ufs_vnops.c,v 1.233 2016/10/28 20:38:12 jdolecek Exp $ */
+/*     $NetBSD: ufs_vnops.c,v 1.234 2016/11/09 04:12:55 dholland Exp $ */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ufs_vnops.c,v 1.233 2016/10/28 20:38:12 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ufs_vnops.c,v 1.234 2016/11/09 04:12:55 dholland Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ffs.h"
@@ -1764,7 +1764,7 @@
 /*
  * Allocate a new inode.
  */
-int
+static int
 ufs_makeinode(struct vattr *vap, struct vnode *dvp,
        const struct ufs_lookup_results *ulr,
        struct vnode **vpp, struct componentname *cnp)



Home | Main Index | Thread Index | Old Index