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)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"