summaryrefslogtreecommitdiffstats
path: root/usr.bin/vis
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-11-06 08:18:42 +0000
committered <ed@FreeBSD.org>2011-11-06 08:18:42 +0000
commit66190ef17d1ed57bc92917988b51af851af4084d (patch)
tree01984c7fb6a3b34de44106281a1df6d99beae98c /usr.bin/vis
parentc18674114044373fe17da017f45a4a0273325cbd (diff)
downloadFreeBSD-src-66190ef17d1ed57bc92917988b51af851af4084d.zip
FreeBSD-src-66190ef17d1ed57bc92917988b51af851af4084d.tar.gz
Add missing static keywords to vis(1)
Diffstat (limited to 'usr.bin/vis')
-rw-r--r--usr.bin/vis/vis.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.bin/vis/vis.c b/usr.bin/vis/vis.c
index 6344a91..71b6404 100644
--- a/usr.bin/vis/vis.c
+++ b/usr.bin/vis/vis.c
@@ -50,9 +50,12 @@ static const char sccsid[] = "@(#)vis.c 8.1 (Berkeley) 6/6/93";
#include "extern.h"
-int eflags, fold, foldwidth=80, none, markeol, debug;
+static int eflags, fold, foldwidth = 80, none, markeol;
+#ifdef DEBUG
+static int debug;
+#endif
-void process(FILE *);
+static void process(FILE *);
static void usage(void);
int
@@ -133,7 +136,7 @@ usage(void)
exit(1);
}
-void
+static void
process(FILE *fp)
{
static int col = 0;
OpenPOWER on IntegriCloud