From bb39d408b1ee711271405d31fb72a7d3c0696727 Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Sun, 6 Nov 2011 08:18:42 +0000 Subject: [PATCH] Add missing static keywords to vis(1) --- usr.bin/vis/vis.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/usr.bin/vis/vis.c b/usr.bin/vis/vis.c index 6344a918325..71b64042ee6 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;