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 Schouten 2011-11-06 18:49:30 +00:00
parent 43ad4b4511
commit cb230716e3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=227238

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