diff options
author | phk <phk@FreeBSD.org> | 2005-02-10 12:23:29 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-02-10 12:23:29 +0000 |
commit | 9fbd4a503d2c65eee428bc41eca086f4966b49c2 (patch) | |
tree | c9ec15c243fdf0fc4ec20f1837d60108bb1c008c | |
parent | bbe97a9d2edb9970954491b6c91ba5bcec9e97a4 (diff) | |
download | FreeBSD-src-9fbd4a503d2c65eee428bc41eca086f4966b49c2.zip FreeBSD-src-9fbd4a503d2c65eee428bc41eca086f4966b49c2.tar.gz |
Make a SYSCTL_NODE static
-rw-r--r-- | sys/fs/devfs/devfs_devs.c | 2 | ||||
-rw-r--r-- | sys/gnu/ext2fs/ext2_lookup.c | 2 | ||||
-rw-r--r-- | sys/gnu/fs/ext2fs/ext2_lookup.c | 2 | ||||
-rw-r--r-- | sys/kern/kern_ktrace.c | 2 | ||||
-rw-r--r-- | sys/kern/vfs_aio.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/sys/fs/devfs/devfs_devs.c b/sys/fs/devfs/devfs_devs.c index abdda9a..e9c2a55 100644 --- a/sys/fs/devfs/devfs_devs.c +++ b/sys/fs/devfs/devfs_devs.c @@ -60,7 +60,7 @@ static unsigned devfs_generation; 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"); +static 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"); SYSCTL_UINT(_vfs_devfs, OID_AUTO, generation, CTLFLAG_RD, diff --git a/sys/gnu/ext2fs/ext2_lookup.c b/sys/gnu/ext2fs/ext2_lookup.c index 12ef0fb..d1b17c4 100644 --- a/sys/gnu/ext2fs/ext2_lookup.c +++ b/sys/gnu/ext2fs/ext2_lookup.c @@ -66,7 +66,7 @@ static int dirchk = 1; static int dirchk = 0; #endif -SYSCTL_NODE(_vfs, OID_AUTO, e2fs, CTLFLAG_RD, 0, "EXT2FS filesystem"); +static SYSCTL_NODE(_vfs, OID_AUTO, e2fs, CTLFLAG_RD, 0, "EXT2FS filesystem"); SYSCTL_INT(_vfs_e2fs, OID_AUTO, dircheck, CTLFLAG_RW, &dirchk, 0, ""); /* diff --git a/sys/gnu/fs/ext2fs/ext2_lookup.c b/sys/gnu/fs/ext2fs/ext2_lookup.c index 12ef0fb..d1b17c4 100644 --- a/sys/gnu/fs/ext2fs/ext2_lookup.c +++ b/sys/gnu/fs/ext2fs/ext2_lookup.c @@ -66,7 +66,7 @@ static int dirchk = 1; static int dirchk = 0; #endif -SYSCTL_NODE(_vfs, OID_AUTO, e2fs, CTLFLAG_RD, 0, "EXT2FS filesystem"); +static SYSCTL_NODE(_vfs, OID_AUTO, e2fs, CTLFLAG_RD, 0, "EXT2FS filesystem"); SYSCTL_INT(_vfs_e2fs, OID_AUTO, dircheck, CTLFLAG_RW, &dirchk, 0, ""); /* diff --git a/sys/kern/kern_ktrace.c b/sys/kern/kern_ktrace.c index 2c6332a..e504871 100644 --- a/sys/kern/kern_ktrace.c +++ b/sys/kern/kern_ktrace.c @@ -90,7 +90,7 @@ static int data_lengths[] = { static STAILQ_HEAD(, ktr_request) ktr_todo; static STAILQ_HEAD(, ktr_request) ktr_free; -SYSCTL_NODE(_kern, OID_AUTO, ktrace, CTLFLAG_RD, 0, "KTRACE options"); +static SYSCTL_NODE(_kern, OID_AUTO, ktrace, CTLFLAG_RD, 0, "KTRACE options"); static u_int ktr_requestpool = KTRACE_REQUEST_POOL; TUNABLE_INT("kern.ktrace.request_pool", &ktr_requestpool); diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c index a30fedc..52c40a0 100644 --- a/sys/kern/vfs_aio.c +++ b/sys/kern/vfs_aio.c @@ -108,7 +108,7 @@ static long jobrefid; #define AIOD_LIFETIME_DEFAULT (30 * hz) #endif -SYSCTL_NODE(_vfs, OID_AUTO, aio, CTLFLAG_RW, 0, "Async IO management"); +static SYSCTL_NODE(_vfs, OID_AUTO, aio, CTLFLAG_RW, 0, "Async IO management"); static int max_aio_procs = MAX_AIO_PROCS; SYSCTL_INT(_vfs_aio, OID_AUTO, max_aio_procs, |