summaryrefslogtreecommitdiffstats
path: root/larn
diff options
context:
space:
mode:
Diffstat (limited to 'larn')
-rw-r--r--larn/extern.h4
-rw-r--r--larn/io.c7
2 files changed, 6 insertions, 5 deletions
diff --git a/larn/extern.h b/larn/extern.h
index 17f65bf6..bb1b26f9 100644
--- a/larn/extern.h
+++ b/larn/extern.h
@@ -1,4 +1,4 @@
-/* $NetBSD: extern.h,v 1.1 1997/10/18 20:03:17 christos Exp $ */
+/* $NetBSD: extern.h,v 1.2 1999/10/04 23:27:02 lukem Exp $ */
/*
* Copyright (c) 1997 Christos Zoulas. All rights reserved.
@@ -154,7 +154,7 @@ void cl_dn __P((int, int));
void standout __P((char *));
void set_score_output __P((void));
void lflush __P((void));
-void xputchar __P((int));
+int xputchar __P((int));
void flush_buf __P((void));
char *tmcapcnv __P((char *, char *));
void beep __P((void));
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);
}
/*