diff options
author | bde <bde@FreeBSD.org> | 1995-07-29 11:44:31 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-07-29 11:44:31 +0000 |
commit | 38a74a7bc23af4d5ed5deeff2f4ab6329b0a26cc (patch) | |
tree | b89d1e0366b685acdcb1eb8c959a65e2e330cb0c /sys/miscfs/specfs | |
parent | 795b455aacbca36da42882b1290f5d37f1618bfe (diff) | |
download | FreeBSD-src-38a74a7bc23af4d5ed5deeff2f4ab6329b0a26cc.zip FreeBSD-src-38a74a7bc23af4d5ed5deeff2f4ab6329b0a26cc.tar.gz |
Eliminate sloppy common-style declarations. There should be none left for
the LINT configuation.
Diffstat (limited to 'sys/miscfs/specfs')
-rw-r--r-- | sys/miscfs/specfs/spec_vnops.c | 12 | ||||
-rw-r--r-- | sys/miscfs/specfs/specdev.h | 4 |
2 files changed, 4 insertions, 12 deletions
diff --git a/sys/miscfs/specfs/spec_vnops.c b/sys/miscfs/specfs/spec_vnops.c index f3b88f0..8e17858 100644 --- a/sys/miscfs/specfs/spec_vnops.c +++ b/sys/miscfs/specfs/spec_vnops.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)spec_vnops.c 8.6 (Berkeley) 4/9/94 - * $Id: spec_vnops.c,v 1.11 1995/04/09 06:03:10 davidg Exp $ + * $Id: spec_vnops.c,v 1.12 1995/07/08 04:03:12 davidg Exp $ */ #include <sys/param.h> @@ -50,15 +50,7 @@ #include <sys/disklabel.h> #include <miscfs/specfs/specdev.h> -/* symbolic sleep message strings for devices */ -char devopn[] = "devopn"; -char devio[] = "devio"; -char devwait[] = "devwait"; -char devin[] = "devin"; -char devout[] = "devout"; -char devioc[] = "devioc"; -char devcls[] = "devcls"; - +struct vnode *speclisth[SPECHSZ]; int (**spec_vnodeop_p)(); struct vnodeopv_entry_desc spec_vnodeop_entries[] = { { &vop_default_desc, vn_default_error }, diff --git a/sys/miscfs/specfs/specdev.h b/sys/miscfs/specfs/specdev.h index bc26f9d..af0f7a2 100644 --- a/sys/miscfs/specfs/specdev.h +++ b/sys/miscfs/specfs/specdev.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)specdev.h 8.2 (Berkeley) 2/2/94 - * $Id$ + * $Id: specdev.h,v 1.2 1994/08/02 07:45:30 davidg 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. |