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.
This commit is contained in:
parent
63136e04c6
commit
6ad175be4d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=12450
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user