Make various random things static

This commit is contained in:
phk 2005-02-10 12:10:35 +00:00
parent bd3aabb81e
commit 67e4aa7d33
4 changed files with 6 additions and 5 deletions

View File

@ -65,7 +65,7 @@ static g_start_t g_disk_start;
static g_ioctl_t g_disk_ioctl;
static g_dumpconf_t g_disk_dumpconf;
struct g_class g_disk_class = {
static struct g_class g_disk_class = {
.name = "DISK",
.version = G_VERSION,
.init = g_disk_init,

View File

@ -96,7 +96,7 @@ g_up_procbody(void)
}
}
struct kproc_desc g_up_kp = {
static struct kproc_desc g_up_kp = {
"g_up",
g_up_procbody,
&g_up_proc,
@ -119,7 +119,7 @@ g_down_procbody(void)
}
}
struct kproc_desc g_down_kp = {
static struct kproc_desc g_down_kp = {
"g_down",
g_down_procbody,
&g_down_proc,

View File

@ -54,6 +54,8 @@ static struct buf_ops __g_vfs_bufops = {
struct buf_ops *g_vfs_bufops = &__g_vfs_bufops;
static g_orphan_t g_vfs_orphan;
static struct g_class g_vfs_class = {
.name = "VFS",
.version = G_VERSION,
@ -104,7 +106,7 @@ g_vfs_strategy(struct bufobj *bo, struct buf *bp)
g_io_request(bip, cp);
}
void
static void
g_vfs_orphan(struct g_consumer *cp)
{

View File

@ -36,7 +36,6 @@ struct buf;
extern struct buf_ops *g_vfs_bufops;
void g_vfs_strategy(struct bufobj *bo, struct buf *bp);
void g_vfs_orphan(struct g_consumer *cp);
int g_vfs_open(struct vnode *vp, struct g_consumer **cpp, const char *fsname, int wr);
void g_vfs_close(struct g_consumer *cp, struct thread *td);