Mark global functions and/or variables in pwd_mkdb(8) static where possible.

This allows compilers and static analyzers to do more thorough analysis.
This commit is contained in:
Ed Schouten 2011-11-06 19:02:25 +00:00
parent 7a106fe473
commit 4da4d0013d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=227257

View File

@ -68,7 +68,7 @@ __FBSDID("$FreeBSD$");
#define LEGACY_VERSION(x) _PW_VERSIONED(x, 3)
#define CURRENT_VERSION(x) _PW_VERSIONED(x, 4)
HASHINFO openinfo = {
static HASHINFO openinfo = {
4096, /* bsize */
32, /* ffactor */
256, /* nelem */