summaryrefslogtreecommitdiffstats
path: root/larn/io.c
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>1999-10-04 23:26:59 +0000
committerlukem <lukem@NetBSD.org>1999-10-04 23:26:59 +0000
commit36a67d38f8e835f867ca232e5baa4965bf1fd405 (patch)
treea4003f08f7ef5a5ccf409deee5a69d166b6d6fb0 /larn/io.c
parent66dcf6ac131bfb208ed57aa184d0e385386590ee (diff)
downloadbsdgames-darwin-36a67d38f8e835f867ca232e5baa4965bf1fd405.tar.gz
bsdgames-darwin-36a67d38f8e835f867ca232e5baa4965bf1fd405.tar.zst
bsdgames-darwin-36a67d38f8e835f867ca232e5baa4965bf1fd405.zip
update after change to return value of tputs() third argument
Diffstat (limited to 'larn/io.c')
-rw-r--r--larn/io.c7
1 files changed, 4 insertions, 3 deletions
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 <sys/cdefs.h>
#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);
}
/*