diff options
author | bde <bde@FreeBSD.org> | 1995-11-21 09:15:04 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-11-21 09:15:04 +0000 |
commit | e15706373ff2c95a4b8aec0b20f1959b7ef68a3f (patch) | |
tree | b18d65b89879b10e7b14ceba4536a46813389862 /sys/isa | |
parent | 856563218ddd78c86e0bbdd35f0881d4551d233c (diff) | |
download | FreeBSD-src-e15706373ff2c95a4b8aec0b20f1959b7ef68a3f.zip FreeBSD-src-e15706373ff2c95a4b8aec0b20f1959b7ef68a3f.tar.gz |
Restored static variable `nsio_tty' which is used only by pstat(8). Made
it `const' to inhibit compiler warnings.
Added #include of <pccard/driver.h> to get prototypes. <pccard/slot.h>
is still necessary for its side effect of exporting non-slot things.
Diffstat (limited to 'sys/isa')
-rw-r--r-- | sys/isa/sio.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/isa/sio.c b/sys/isa/sio.c index 05c2d60..cf18650 100644 --- a/sys/isa/sio.c +++ b/sys/isa/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.117 1995/11/04 17:07:50 bde Exp $ + * $Id: sio.c,v 1.118 1995/11/20 12:13:27 phk Exp $ */ #include "sio.h" @@ -99,6 +99,7 @@ #include "crd.h" #if NCRD > 0 #include <pccard/card.h> +#include <pccard/driver.h> #include <pccard/slot.h> #endif /* NCRD > 0 */ @@ -298,6 +299,7 @@ static struct tty *sio_tty[NSIO]; #else static struct tty sio_tty[NSIO]; #endif +static const int nsio_tty = NSIO; #ifdef KGDB #include <machine/remote-sl.h> |