diff options
author | phk <phk@FreeBSD.org> | 2005-02-10 12:25:38 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-02-10 12:25:38 +0000 |
commit | 40bcad426bc4106296aeb7d0a207020689e2c85d (patch) | |
tree | 42b6ea663af1eb67822dad33d1b26ba2d9887b8d /sys/kern/vfs_init.c | |
parent | 9fbd4a503d2c65eee428bc41eca086f4966b49c2 (diff) | |
download | FreeBSD-src-40bcad426bc4106296aeb7d0a207020689e2c85d.zip FreeBSD-src-40bcad426bc4106296aeb7d0a207020689e2c85d.tar.gz |
Make various mountpoint related functions static.
Diffstat (limited to 'sys/kern/vfs_init.c')
-rw-r--r-- | sys/kern/vfs_init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/kern/vfs_init.c b/sys/kern/vfs_init.c index 61d2675..77b37d9 100644 --- a/sys/kern/vfs_init.c +++ b/sys/kern/vfs_init.c @@ -47,6 +47,8 @@ __FBSDID("$FreeBSD$"); #include <sys/vnode.h> #include <sys/malloc.h> +static int vfs_register(struct vfsconf *); +static int vfs_unregister(struct vfsconf *); MALLOC_DEFINE(M_VNODE, "vnodes", "Dynamically allocated vnodes"); @@ -138,7 +140,7 @@ vfs_byname_kld(const char *fstype, struct thread *td, int *error) /* Register a new filesystem type in the global table */ -int +static int vfs_register(struct vfsconf *vfc) { struct sysctl_oid *oidp; @@ -249,7 +251,7 @@ vfs_register(struct vfsconf *vfc) /* Remove registration of a filesystem type */ -int +static int vfs_unregister(struct vfsconf *vfc) { struct vfsconf *vfsp; |