summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-11-21 09:15:04 +0000
committerbde <bde@FreeBSD.org>1995-11-21 09:15:04 +0000
commite15706373ff2c95a4b8aec0b20f1959b7ef68a3f (patch)
treeb18d65b89879b10e7b14ceba4536a46813389862 /sys/i386
parent856563218ddd78c86e0bbdd35f0881d4551d233c (diff)
downloadFreeBSD-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/i386')
-rw-r--r--sys/i386/isa/sio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/i386/isa/sio.c b/sys/i386/isa/sio.c
index 05c2d60..cf18650 100644
--- a/sys/i386/isa/sio.c
+++ b/sys/i386/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>
OpenPOWER on IntegriCloud