summaryrefslogtreecommitdiffstats
path: root/larn/io.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2008-02-03 19:20:40 +0000
committerdholland <dholland@NetBSD.org>2008-02-03 19:20:40 +0000
commitbf91baeffb42cde8688e3e5735369c864ed29d91 (patch)
treec431f9c498c73de5ed5021009b69cecd9de27c02 /larn/io.c
parentf1ec001029402476abce34e4130373b3c34a16c7 (diff)
downloadbsdgames-darwin-bf91baeffb42cde8688e3e5735369c864ed29d91.tar.gz
bsdgames-darwin-bf91baeffb42cde8688e3e5735369c864ed29d91.tar.zst
bsdgames-darwin-bf91baeffb42cde8688e3e5735369c864ed29d91.zip
Make a bunch of functions static. Merged from larn 12.2.
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)