diff options
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. |