diff options
author | ed <ed@FreeBSD.org> | 2011-11-06 18:49:30 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2011-11-06 18:49:30 +0000 |
commit | b4971e80feba1fb8436b486961807d2a855b2f52 (patch) | |
tree | 5a6596683add4d63834ba7897f81c1488b7cbc37 /usr.bin | |
parent | b333c8830884a56cbd10db2d70a22d85472f5572 (diff) | |
download | FreeBSD-src-b4971e80feba1fb8436b486961807d2a855b2f52.zip FreeBSD-src-b4971e80feba1fb8436b486961807d2a855b2f52.tar.gz |
Mark global functions and/or variables in expand(1) static where possible.
This allows compilers and static analyzers to more thorough analysis.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/expand/expand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/expand/expand.c b/usr.bin/expand/expand.c index e8d85b4..1d89089 100644 --- a/usr.bin/expand/expand.c +++ b/usr.bin/expand/expand.c @@ -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); |