Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/miscfs/specfs Extern speclisth
details: https://anonhg.NetBSD.org/src/rev/500d4528f029
branches: trunk
changeset: 526849:500d4528f029
user: matt <matt%NetBSD.org@localhost>
date: Sun May 12 20:42:03 2002 +0000
description:
Extern speclisth
diffstat:
sys/miscfs/specfs/spec_vnops.c | 6 ++++--
sys/miscfs/specfs/specdev.h | 4 ++--
2 files changed, 6 insertions(+), 4 deletions(-)
diffs (45 lines):
diff -r 60979cd8097a -r 500d4528f029 sys/miscfs/specfs/spec_vnops.c
--- a/sys/miscfs/specfs/spec_vnops.c Sun May 12 20:40:11 2002 +0000
+++ b/sys/miscfs/specfs/spec_vnops.c Sun May 12 20:42:03 2002 +0000
@@ -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 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.
diff -r 60979cd8097a -r 500d4528f029 sys/miscfs/specfs/specdev.h
--- a/sys/miscfs/specfs/specdev.h Sun May 12 20:40:11 2002 +0000
+++ b/sys/miscfs/specfs/specdev.h Sun May 12 20:42:03 2002 +0000
@@ -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 @@
#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.
Home |
Main Index |
Thread Index |
Old Index