1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

The poor nsccons variable was gone agian this time hidden by

an ifdef , wonder who broke it this time :)

Submitted by:	 ache
This commit is contained in:
Søren Schmidt 1996-09-09 19:02:26 +00:00
parent a41cbc45be
commit b1538b1658
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=18191
3 changed files with 6 additions and 6 deletions

View File

@ -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)\

View File

@ -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)\

View File

@ -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)\