Extern speclisth

This commit is contained in:
matt 2002-05-12 20:42:03 +00:00
parent 2d83d27dfa
commit ea5cd1699b
2 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: spec_vnops.c,v 1.60 2001/11/10 13:33:44 lukem Exp $ */
/* $NetBSD: spec_vnops.c,v 1.61 2002/05/12 20:42:03 matt Exp $ */
/*
* Copyright (c) 1989, 1993
@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: spec_vnops.c,v 1.60 2001/11/10 13:33:44 lukem Exp $");
__KERNEL_RCSID(0, "$NetBSD: spec_vnops.c,v 1.61 2002/05/12 20:42:03 matt Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@ -66,6 +66,8 @@ const char devout[] = "devout";
const char devioc[] = "devioc";
const char devcls[] = "devcls";
struct vnode *speclisth[SPECHSZ];
/*
* This vnode operations vector is used for two things only:
* - special device nodes created from whole cloth by the kernel.

View File

@ -1,4 +1,4 @@
/* $NetBSD: specdev.h,v 1.20 2001/08/17 05:52:07 chs Exp $ */
/* $NetBSD: specdev.h,v 1.21 2002/05/12 20:42:03 matt Exp $ */
/*
* Copyright (c) 1990, 1993
@ -66,7 +66,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.