summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa/pcvt/pcvt_out.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-07 07:22:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-07 07:22:34 +0000
commit01374b354a584861150a3763813e6b1475682451 (patch)
tree20cbd4e1e97837d654ec825dfb6937b5030f14ad /sys/arch/i386/isa/pcvt/pcvt_out.c
parenta67cb0ed502d0c21cf6ab116718b19d1cbeb39bc (diff)
sync with 0504; prototype changes
Diffstat (limited to 'sys/arch/i386/isa/pcvt/pcvt_out.c')
-rw-r--r--sys/arch/i386/isa/pcvt/pcvt_out.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/i386/isa/pcvt/pcvt_out.c b/sys/arch/i386/isa/pcvt/pcvt_out.c
index 167dd8f0c80..cdee5507df2 100644
--- a/sys/arch/i386/isa/pcvt/pcvt_out.c
+++ b/sys/arch/i386/isa/pcvt/pcvt_out.c
@@ -76,6 +76,7 @@ static void check_scroll ( struct video_state *svsp );
static void hp_entry ( U_char ch, struct video_state *svsp );
static void wrfkl ( int num, u_char *string, struct video_state *svsp );
static void writefkl ( int num, u_char *string, struct video_state *svsp );
+static __inline void write_char (struct video_state *, u_short, u_short ch);
/*---------------------------------------------------------------------------*
@@ -171,7 +172,7 @@ sput (u_char *s, U_char kernel, int len, int page)
attrib = kernel ? kern_attr : svsp->c_attr;
while (len-- > 0)
- if (ch = (*(s++)))
+ if ((ch = (*(s++))) != 0)
{
if(svsp->sevenbit)
ch &= 0x7f;