From 36a67d38f8e835f867ca232e5baa4965bf1fd405 Mon Sep 17 00:00:00 2001 From: lukem Date: Mon, 4 Oct 1999 23:26:59 +0000 Subject: update after change to return value of tputs() third argument --- larn/io.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'larn/io.c') diff --git a/larn/io.c b/larn/io.c index b003e74b..5d9d355e 100644 --- a/larn/io.c +++ b/larn/io.c @@ -1,4 +1,4 @@ -/* $NetBSD: io.c,v 1.7 1997/10/18 20:03:26 christos Exp $ */ +/* $NetBSD: io.c,v 1.8 1999/10/04 23:27:02 lukem Exp $ */ /* * io.c Larn is copyrighted 1986 by Noah Morgan. @@ -62,7 +62,7 @@ */ #include #ifndef lint -__RCSID("$NetBSD: io.c,v 1.7 1997/10/18 20:03:26 christos Exp $"); +__RCSID("$NetBSD: io.c,v 1.8 1999/10/04 23:27:02 lukem Exp $"); #endif /* not lint */ #include "header.h" @@ -1047,13 +1047,14 @@ static int vindex = 0; /* * xputchar(ch) Print one character in decoded output buffer. */ -void +int xputchar(c) int c; { outbuf[vindex++] = c; if (vindex >= BUFBIG) flush_buf(); + return (0); } /* -- cgit v1.2.3