diff options
author | ed <ed@FreeBSD.org> | 2011-11-06 18:50:26 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2011-11-06 18:50:26 +0000 |
commit | 04b0cc9b2b4ba10dbbe35ebe59a6e2b0d37f0c49 (patch) | |
tree | 0af5959f2d7e05ca58325168be5f5a4b8574e621 /usr.bin | |
parent | 90167b18125979bd30ab6fd436e141094904fa23 (diff) | |
download | FreeBSD-src-04b0cc9b2b4ba10dbbe35ebe59a6e2b0d37f0c49.zip FreeBSD-src-04b0cc9b2b4ba10dbbe35ebe59a6e2b0d37f0c49.tar.gz |
Mark global functions and/or variables in which(1) static where possible.
This allows compilers and static analyzers to more thorough analysis.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/which/which.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |