From bf91baeffb42cde8688e3e5735369c864ed29d91 Mon Sep 17 00:00:00 2001 From: dholland Date: Sun, 3 Feb 2008 19:20:40 +0000 Subject: Make a bunch of functions static. Merged from larn 12.2. --- larn/io.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'larn/io.c') 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 #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) -- cgit v1.2.3