diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2003-02-12 14:41:09 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2003-02-12 14:41:09 +0000 |
commit | 83d2e89c7ffb2d5e854f7218fb87bd9b84e76445 (patch) | |
tree | d4dd991115d2bbdf904080a59af98496bfd6ae71 /sys/miscfs | |
parent | 2483ace7e3f655ab9e54781d76d76d52eeed5bf7 (diff) |
Remove commons; inspired by netbsd.
Diffstat (limited to 'sys/miscfs')
-rw-r--r-- | sys/miscfs/specfs/spec_vnops.c | 4 | ||||
-rw-r--r-- | sys/miscfs/specfs/specdev.h | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/sys/miscfs/specfs/spec_vnops.c b/sys/miscfs/specfs/spec_vnops.c index 067be255e05..0c948f296c3 100644 --- a/sys/miscfs/specfs/spec_vnops.c +++ b/sys/miscfs/specfs/spec_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: spec_vnops.c,v 1.24 2002/11/08 04:34:17 art Exp $ */ +/* $OpenBSD: spec_vnops.c,v 1.25 2003/02/12 14:41:07 jason Exp $ */ /* $NetBSD: spec_vnops.c,v 1.29 1996/04/22 01:42:38 christos Exp $ */ /* @@ -56,6 +56,8 @@ #define v_lastr v_specinfo->si_lastr +struct vnode *speclisth[SPECHSZ]; + /* symbolic sleep message strings for devices */ char devopn[] = "devopn"; char devio[] = "devio"; diff --git a/sys/miscfs/specfs/specdev.h b/sys/miscfs/specfs/specdev.h index 31e53f79f3a..3a298e3723f 100644 --- a/sys/miscfs/specfs/specdev.h +++ b/sys/miscfs/specfs/specdev.h @@ -1,4 +1,4 @@ -/* $OpenBSD: specdev.h,v 1.14 2002/11/08 04:34:17 art Exp $ */ +/* $OpenBSD: specdev.h,v 1.15 2003/02/12 14:41:07 jason Exp $ */ /* $NetBSD: specdev.h,v 1.12 1996/02/13 13:13:01 mycroft Exp $ */ /* @@ -68,7 +68,7 @@ struct specinfo { #define SPECHASH(rdev) (((unsigned)((rdev>>5)+(rdev)))%SPECHSZ) #endif -struct vnode *speclisth[SPECHSZ]; +extern struct vnode *speclisth[SPECHSZ]; /* * Prototypes for special file operations on vnodes. |