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_mount.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_mount.c')
-rw-r--r-- | sys/kern/vfs_mount.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c index f204598..0d4f101 100644 --- a/sys/kern/vfs_mount.c +++ b/sys/kern/vfs_mount.c @@ -81,6 +81,8 @@ static int vfs_mountroot_ask(void); static int vfs_mountroot_try(const char *mountfrom); static int vfs_donmount(struct thread *td, int fsflags, struct uio *fsoptions); +static void free_mntarg(struct mntarg *ma); +static void vfs_mount_destroy(struct mount *, struct thread *); static int usermount = 0; SYSCTL_INT(_vfs, OID_AUTO, usermount, CTLFLAG_RW, &usermount, 0, @@ -145,7 +147,7 @@ char *rootdevnames[2] = {NULL, NULL}; #ifndef ROOTDEVNAME # define ROOTDEVNAME NULL #endif -const char *ctrootdevname = ROOTDEVNAME; +static const char *ctrootdevname = ROOTDEVNAME; /* * --------------------------------------------------------------------- @@ -433,7 +435,7 @@ vfs_mount_alloc(struct vnode *vp, struct vfsconf *vfsp, /* * Destroy the mount struct previously allocated by vfs_mount_alloc(). */ -void +static void vfs_mount_destroy(struct mount *mp, struct thread *td) { @@ -1642,7 +1644,7 @@ mount_arg(struct mntarg *ma, const char *name, const void *val, int len) /* * Free a mntarg structure */ -void +static void free_mntarg(struct mntarg *ma) { struct mntaarg *maa; |