Protect extern zstty_cd with (NKBD > 0) || (NMS > 0)
This commit is contained in:
parent
a0b98a781b
commit
4bebaafe44
@ -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 @@ zs_attach(zsc, zsd, pri)
|
||||
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];
|
||||
|
Loading…
Reference in New Issue
Block a user