Make fdesc_root static

This commit is contained in:
Poul-Henning Kamp 2005-02-10 12:09:15 +00:00
parent 923da43e9b
commit 9def42f333
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,6 @@ struct fdescnode {
#define VTOFDESC(vp) ((struct fdescnode *)(vp)->v_data)
extern vfs_init_t fdesc_init;
extern vfs_root_t fdesc_root;
extern int fdesc_allocvp(fdntype, int, struct mount *, struct vnode **,
struct thread *);
#endif /* _KERNEL */

View File

@ -57,6 +57,7 @@ static MALLOC_DEFINE(M_FDESCMNT, "FDESC mount", "FDESC mount structure");
static vfs_mount_t fdesc_mount;
static vfs_unmount_t fdesc_unmount;
static vfs_statfs_t fdesc_statfs;
static vfs_root_t fdesc_root;
/*
* Mount the per-process file descriptors (/dev/fd)
@ -124,7 +125,7 @@ fdesc_unmount(mp, mntflags, td)
return (0);
}
int
static int
fdesc_root(mp, vpp, td)
struct mount *mp;
struct vnode **vpp;