Author: ed
Date: Sun Nov  6 18:49:30 2011
New Revision: 227238
URL: http://svn.freebsd.org/changeset/base/227238

Log:
  Mark global functions and/or variables in expand(1) static where possible.
  
  This allows compilers and static analyzers to more thorough analysis.

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

Modified: head/usr.bin/expand/expand.c
==============================================================================
--- head/usr.bin/expand/expand.c        Sun Nov  6 18:49:23 2011        
(r227237)
+++ head/usr.bin/expand/expand.c        Sun Nov  6 18:49:30 2011        
(r227238)
@@ -53,8 +53,8 @@ __FBSDID("$FreeBSD$");
 /*
  * expand - expand tabs to equivalent spaces
  */
-int    nstops;
-int    tabstops[100];
+static int     nstops;
+static int     tabstops[100];
 
 static void getstops(char *);
 static void usage(void);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to