Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Nov 2011 08:18:42 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r227198 - head/usr.bin/vis
Message-ID:  <201111060818.pA68IgPM009713@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Sun Nov  6 08:18:42 2011
New Revision: 227198
URL: http://svn.freebsd.org/changeset/base/227198

Log:
  Add missing static keywords to vis(1)

Modified:
  head/usr.bin/vis/vis.c

Modified: head/usr.bin/vis/vis.c
==============================================================================
--- head/usr.bin/vis/vis.c	Sun Nov  6 08:18:35 2011	(r227197)
+++ head/usr.bin/vis/vis.c	Sun Nov  6 08:18:42 2011	(r227198)
@@ -50,9 +50,12 @@ static const char sccsid[] = "@(#)vis.c	
 
 #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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111060818.pA68IgPM009713>