diff options
author | ed <ed@FreeBSD.org> | 2011-11-06 19:02:25 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2011-11-06 19:02:25 +0000 |
commit | 14d5ba532207bd4919a7a1b7583a8280b61f1900 (patch) | |
tree | f52bbb145ede2a544c6e4f92db74ad013a547628 /usr.sbin/pwd_mkdb/pwd_mkdb.c | |
parent | d0a630f9947625ecd0a08b03687a473d8fcfe611 (diff) | |
download | FreeBSD-src-14d5ba532207bd4919a7a1b7583a8280b61f1900.zip FreeBSD-src-14d5ba532207bd4919a7a1b7583a8280b61f1900.tar.gz |
Mark global functions and/or variables in pwd_mkdb(8) static where possible.
This allows compilers and static analyzers to do more thorough analysis.
Diffstat (limited to 'usr.sbin/pwd_mkdb/pwd_mkdb.c')
-rw-r--r-- | usr.sbin/pwd_mkdb/pwd_mkdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pwd_mkdb/pwd_mkdb.c b/usr.sbin/pwd_mkdb/pwd_mkdb.c index 79f91a9..0ba68a5 100644 --- a/usr.sbin/pwd_mkdb/pwd_mkdb.c +++ b/usr.sbin/pwd_mkdb/pwd_mkdb.c @@ -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 */ |