summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa/pcvt/pcvt_hdr.h
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-09-28 20:36:06 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-09-28 20:36:06 +0000
commit3271ef2c0bbab76d03e21c88d8b1a5febf93767b (patch)
treea2042ab32317a15e2b927c86c184a335ce611839 /sys/arch/i386/isa/pcvt/pcvt_hdr.h
parentcb066ff313c704a731da91a7f47176e14aa7b769 (diff)
- Reallocate scrollbuffer when changing linemodes, not loading fonts.
- Now reallocate it when switching VTs, too, since different VTs may be in different linemodes. - Also, cut memory usage in half (thinko on my part in malloc calculation).
Diffstat (limited to 'sys/arch/i386/isa/pcvt/pcvt_hdr.h')
-rw-r--r--sys/arch/i386/isa/pcvt/pcvt_hdr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/i386/isa/pcvt/pcvt_hdr.h b/sys/arch/i386/isa/pcvt/pcvt_hdr.h
index a064281dd69..633299299e9 100644
--- a/sys/arch/i386/isa/pcvt/pcvt_hdr.h
+++ b/sys/arch/i386/isa/pcvt/pcvt_hdr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcvt_hdr.h,v 1.23 1999/09/08 12:56:42 aaron Exp $ */
+/* $OpenBSD: pcvt_hdr.h,v 1.24 1999/09/28 20:36:04 aaron Exp $ */
/*
* Copyright (c) 1992, 1995 Hellmuth Michaelis and Joerg Wunsch.
@@ -1084,6 +1084,7 @@ void set_2ndcharset ( void );
void set_charset ( struct video_state *svsp, int curvgacs );
void set_emulation_mode ( struct video_state *svsp, int mode );
void set_screen_size ( struct video_state *svsp, int size );
+void reallocate_scrollbuffer ( struct video_state *svsp, int pages );
u_char *sgetc ( int noblock );
void sixel_vga ( struct sixels *charsixel, u_char *charvga );
void sput ( u_char *s, U_char attrib, int len, int page );