Mark global functions and/or variables in expand(1) static where possible.

This allows compilers and static analyzers to more thorough analysis.
This commit is contained in:
ed 2011-11-06 18:49:30 +00:00
parent b333c88308
commit b4971e80fe

View File

@ -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);