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:
parent
b333c88308
commit
b4971e80fe
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user