summaryrefslogtreecommitdiffstats
path: root/larn/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'larn/io.c')
-rw-r--r--larn/io.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/larn/io.c b/larn/io.c
index ac3fadab..c6f41522 100644
--- a/larn/io.c
+++ b/larn/io.c
@@ -1,4 +1,4 @@
-/* $NetBSD: io.c,v 1.20 2008/01/28 05:48:57 dholland Exp $ */
+/* $NetBSD: io.c,v 1.21 2008/02/03 19:20:41 dholland 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.20 2008/01/28 05:48:57 dholland Exp $");
+__RCSID("$NetBSD: io.c,v 1.21 2008/02/03 19:20:41 dholland Exp $");
#endif /* not lint */
#include "header.h"
@@ -126,6 +126,8 @@ typedef char *va_list;
#define va_arg(plist,mode) ((mode *)(plist += sizeof(mode)))[-1]
#endif /* NOVARARGS */
+static void flush_buf(void);
+
#define LINBUFSIZE 128 /* size of the lgetw() and lgetl() buffer */
int io_outfd; /* output file numbers */
int io_infd; /* input file numbers */
@@ -966,7 +968,7 @@ xputchar(int ch)
/*
* flush_buf() Flush buffer with decoded output.
*/
-void
+static void
flush_buf()
{
if (vindex)