diff options
author | sos <sos@FreeBSD.org> | 1996-09-09 19:02:26 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 1996-09-09 19:02:26 +0000 |
commit | 2738bc864288d6ad1dc21a8768fce0a3efd298f0 (patch) | |
tree | d3b17bc050502267a5b370acb5ef502beac94e30 /sys/isa/syscons.c | |
parent | a6a179df03b2c8dac42eee7c39726cf90ea63d9c (diff) | |
download | FreeBSD-src-2738bc864288d6ad1dc21a8768fce0a3efd298f0.zip FreeBSD-src-2738bc864288d6ad1dc21a8768fce0a3efd298f0.tar.gz |
The poor nsccons variable was gone agian this time hidden by
an ifdef , wonder who broke it this time :)
Submitted by: ache
Diffstat (limited to 'sys/isa/syscons.c')
-rw-r--r-- | sys/isa/syscons.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/isa/syscons.c b/sys/isa/syscons.c index eb2321b..e2651b6 100644 --- a/sys/isa/syscons.c +++ b/sys/isa/syscons.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: syscons.c,v 1.167 1996/09/07 21:47:53 bde Exp $ + * $Id: syscons.c,v 1.168 1996/09/08 21:31:56 sos Exp $ */ #include "sc.h" @@ -141,7 +141,6 @@ void (*current_saver) __P((int blank)) = none_saver; #define VIRTUAL_TTY(x) (sccons[x] = ttymalloc(sccons[x])) struct CONSOLE_TTY (sccons[MAXCONS] = ttymalloc(sccons[MAXCONS])) struct MOUSE_TTY (sccons[MAXCONS+1] = ttymalloc(sccons[MAXCONS+1])) -static const int nsccons = MAXCONS+2; struct tty *sccons[MAXCONS+2]; #else #define VIRTUAL_TTY(x) &sccons[x] @@ -154,6 +153,7 @@ static struct tty sccons[MAXCONS+2]; #define MONO_BUF pa_to_va(0xB0000) #define CGA_BUF pa_to_va(0xB8000) u_short *Crtat; +static const int nsccons = MAXCONS+2; #define WRAPHIST(scp, pointer, offset)\ ((scp->history) + ((((pointer) - (scp->history)) + (scp->history_size)\ |