diff options
author | phk <phk@FreeBSD.org> | 2000-12-08 15:07:24 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-12-08 15:07:24 +0000 |
commit | e0196ec99c11e2ccb27caac50a1e5c2b4dd4934a (patch) | |
tree | 3dfa00acf48dc36aaa01b12df62d35f64591a742 /sys/fs/devfs/devfs_devs.c | |
parent | 0b006e1592bdf4d5125ac5c418594a719e56d04e (diff) | |
download | FreeBSD-src-e0196ec99c11e2ccb27caac50a1e5c2b4dd4934a.zip FreeBSD-src-e0196ec99c11e2ccb27caac50a1e5c2b4dd4934a.tar.gz |
staticize.
Diffstat (limited to 'sys/fs/devfs/devfs_devs.c')
-rw-r--r-- | sys/fs/devfs/devfs_devs.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/fs/devfs/devfs_devs.c b/sys/fs/devfs/devfs_devs.c index 85e25f7..ee4697d 100644 --- a/sys/fs/devfs/devfs_devs.c +++ b/sys/fs/devfs/devfs_devs.c @@ -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 @@ bail: return; } -struct devfs_dirent * +static struct devfs_dirent * devfs_find(struct devfs_dirent *dd, const char *name, int namelen) { struct devfs_dirent *de; |