diff options
author | eivind <eivind@FreeBSD.org> | 2000-09-22 11:54:48 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 2000-09-22 11:54:48 +0000 |
commit | a4293ea4b025f1964e22ced364141c67cc8cfa6f (patch) | |
tree | 772fb0355febbb8b2d9dd5c09c142e54b282f886 | |
parent | aaaeed879f8b0f2b838f330c11eda3a1f8dab842 (diff) | |
download | FreeBSD-src-a4293ea4b025f1964e22ced364141c67cc8cfa6f.zip FreeBSD-src-a4293ea4b025f1964e22ced364141c67cc8cfa6f.tar.gz |
Staticize addalias()
-rw-r--r-- | sys/kern/vfs_export.c | 3 | ||||
-rw-r--r-- | sys/kern/vfs_subr.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c index f7ebe82..8dc1b80 100644 --- a/sys/kern/vfs_export.c +++ b/sys/kern/vfs_export.c @@ -83,6 +83,7 @@ static MALLOC_DEFINE(M_NETADDR, "Export Host", "Export host address structure"); +static void addalias __P((struct vnode *vp, dev_t nvp_rdev)); static void insmntque __P((struct vnode *vp, struct mount *mp)); static void vclean __P((struct vnode *vp, int flags, struct proc *p)); static unsigned long numvnodes; @@ -1338,7 +1339,7 @@ addaliasu(nvp, nvp_rdev) return (ovp); } -void +static void addalias(nvp, dev) struct vnode *nvp; dev_t dev; diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index f7ebe82..8dc1b80 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -83,6 +83,7 @@ static MALLOC_DEFINE(M_NETADDR, "Export Host", "Export host address structure"); +static void addalias __P((struct vnode *vp, dev_t nvp_rdev)); static void insmntque __P((struct vnode *vp, struct mount *mp)); static void vclean __P((struct vnode *vp, int flags, struct proc *p)); static unsigned long numvnodes; @@ -1338,7 +1339,7 @@ addaliasu(nvp, nvp_rdev) return (ovp); } -void +static void addalias(nvp, dev) struct vnode *nvp; dev_t dev; |