staticize.

This commit is contained in:
Poul-Henning Kamp 2000-12-08 15:07:24 +00:00
parent e3f875caff
commit 2a0436783d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69767
3 changed files with 7 additions and 6 deletions

View File

@ -105,8 +105,6 @@ extern vop_t **devfs_vnodeop_p;
extern vop_t **devfs_specop_p;
int devfs_allocv (struct devfs_dirent *de, struct mount *mp, struct vnode **vpp, struct proc *p);
void devfs_attemptoverflow(int insist);
struct devfs_dirent *devfs_find (struct devfs_dirent *dd, const char *name, int namelen);
dev_t *devfs_itod (int inode);
struct devfs_dirent **devfs_itode (struct devfs_mount *dm, int inode);
int devfs_populate (struct devfs_mount *dm);

View File

@ -56,6 +56,9 @@ static int devfs_noverflowwant = NDEVFSOVERFLOW;
static int devfs_noverflow;
static unsigned devfs_generation;
static void devfs_attemptoverflow(int insist);
static struct devfs_dirent *devfs_find (struct devfs_dirent *dd, const char *name, int namelen);
SYSCTL_NODE(_vfs, OID_AUTO, devfs, CTLFLAG_RW, 0, "DEVFS filesystem");
SYSCTL_UINT(_vfs_devfs, OID_AUTO, noverflow, CTLFLAG_RW,
&devfs_noverflowwant, 0, "Size of DEVFS overflow table");
@ -132,7 +135,7 @@ devfs_itod (int inode)
return (NULL);
}
void
static void
devfs_attemptoverflow(int insist)
{
dev_t **ot;
@ -171,7 +174,7 @@ devfs_attemptoverflow(int insist)
return;
}
struct devfs_dirent *
static struct devfs_dirent *
devfs_find(struct devfs_dirent *dd, const char *name, int namelen)
{
struct devfs_dirent *de;

View File

@ -660,7 +660,7 @@ devfs_badop()
return (EIO);
}
vop_t **devfs_vnodeop_p;
static vop_t **devfs_vnodeop_p;
static struct vnodeopv_entry_desc devfs_vnodeop_entries[] = {
{ &vop_default_desc, (vop_t *) vop_defaultop },
{ &vop_access_desc, (vop_t *) devfs_access },
@ -697,7 +697,7 @@ foo(ap)
}
#endif
vop_t **devfs_specop_p;
static vop_t **devfs_specop_p;
static struct vnodeopv_entry_desc devfs_specop_entries[] = {
#if 1
{ &vop_default_desc, (vop_t *) spec_vnoperate },