From 04b0cc9b2b4ba10dbbe35ebe59a6e2b0d37f0c49 Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 6 Nov 2011 18:50:26 +0000 Subject: Mark global functions and/or variables in which(1) static where possible. This allows compilers and static analyzers to more thorough analysis. --- usr.bin/which/which.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/which/which.c') diff --git a/usr.bin/which/which.c b/usr.bin/which/which.c index 3b8224da..2c11b80 100644 --- a/usr.bin/which/which.c +++ b/usr.bin/which/which.c @@ -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) -- cgit v1.1