svn commit: r227245 - head/usr.bin/which
Ed Schouten
ed at FreeBSD.org
Sun Nov 6 18:50:27 UTC 2011
Author: ed
Date: Sun Nov 6 18:50:26 2011
New Revision: 227245
URL: http://svn.freebsd.org/changeset/base/227245
Log:
Mark global functions and/or variables in which(1) static where possible.
This allows compilers and static analyzers to more thorough analysis.
Modified:
head/usr.bin/which/which.c
Modified: head/usr.bin/which/which.c
==============================================================================
--- head/usr.bin/which/which.c Sun Nov 6 18:50:19 2011 (r227244)
+++ head/usr.bin/which/which.c Sun Nov 6 18:50:26 2011 (r227245)
@@ -40,8 +40,8 @@ __FBSDID("$FreeBSD$");
static void usage(void);
static int print_matches(char *, char *);
-int silent;
-int allpaths;
+static int silent;
+static int allpaths;
int
main(int argc, char **argv)
More information about the svn-src-head
mailing list