diff options
author | dholland <dholland@NetBSD.org> | 2008-02-03 19:20:40 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2008-02-03 19:20:40 +0000 |
commit | bf91baeffb42cde8688e3e5735369c864ed29d91 (patch) | |
tree | c431f9c498c73de5ed5021009b69cecd9de27c02 /larn/io.c | |
parent | f1ec001029402476abce34e4130373b3c34a16c7 (diff) | |
download | bsdgames-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.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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) |