Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/dev Protect extern zstty_cd with (NKBD > 0)...
details: https://anonhg.NetBSD.org/src/rev/172b81b33733
branches: trunk
changeset: 536263:172b81b33733
user: abs <abs%NetBSD.org@localhost>
date: Thu Sep 12 12:51:37 2002 +0000
description:
Protect extern zstty_cd with (NKBD > 0) || (NMS > 0)
diffstat:
sys/arch/sparc64/dev/zs.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r c4dbfbaee6f0 -r 172b81b33733 sys/arch/sparc64/dev/zs.c
--- a/sys/arch/sparc64/dev/zs.c Thu Sep 12 12:50:04 2002 +0000
+++ b/sys/arch/sparc64/dev/zs.c Thu Sep 12 12:51:37 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: zs.c,v 1.35 2002/09/06 13:18:43 gehenna Exp $ */
+/* $NetBSD: zs.c,v 1.36 2002/09/12 12:51:37 abs Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -289,7 +289,9 @@
for (channel = 0; channel < 2; channel++) {
struct zschan *zc;
struct device *child;
+#if (NKBD > 0) || (NMS > 0)
extern struct cfdriver zstty_cd; /* in ioconf.c */
+#endif
zsc_args.channel = channel;
cs = &zsc->zsc_cs_store[channel];
Home |
Main Index |
Thread Index |
Old Index