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
43ad4b4511
commit
cb230716e3
@ -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