diff options
author | ed <ed@FreeBSD.org> | 2011-11-06 08:14:03 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2011-11-06 08:14:03 +0000 |
commit | 1f7f99bbdea324002c0330dffc11d9f500c0d1e9 (patch) | |
tree | 87e6c63ae64962065ede09c8e59d1c8b5f3ff0a9 /usr.bin/cap_mkdb/cap_mkdb.c | |
parent | 4704a8332d4436ea47f955aa31b46f27dfd24a93 (diff) | |
download | FreeBSD-src-1f7f99bbdea324002c0330dffc11d9f500c0d1e9.zip FreeBSD-src-1f7f99bbdea324002c0330dffc11d9f500c0d1e9.tar.gz |
Add missing static keywords to cap_mkdb(1)
Diffstat (limited to 'usr.bin/cap_mkdb/cap_mkdb.c')
-rw-r--r-- | usr.bin/cap_mkdb/cap_mkdb.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/usr.bin/cap_mkdb/cap_mkdb.c b/usr.bin/cap_mkdb/cap_mkdb.c index 9ebac27..2f8bd96 100644 --- a/usr.bin/cap_mkdb/cap_mkdb.c +++ b/usr.bin/cap_mkdb/cap_mkdb.c @@ -53,15 +53,15 @@ __FBSDID("$FreeBSD$"); #include <string.h> #include <unistd.h> -void db_build(char **); -void dounlink(void); -void usage(void); +static void db_build(char **); +static void dounlink(void); +static void usage(void); -DB *capdbp; -int verbose; -char *capdb, *capname, buf[8 * 1024]; +static DB *capdbp; +static int verbose; +static char *capname, buf[8 * 1024]; -HASHINFO openinfo = { +static HASHINFO openinfo = { 4096, /* bsize */ 0, /* ffactor */ 0, /* nelem */ @@ -134,7 +134,7 @@ main(int argc, char *argv[]) exit(0); } -void +static void dounlink(void) { if (capname != NULL) @@ -153,7 +153,7 @@ dounlink(void) * Db_build() builds the name and capability databases according to the * details above. */ -void +static void db_build(char **ifiles) { DBT key, data; @@ -259,7 +259,7 @@ db_build(char **ifiles) (void)printf("cap_mkdb: %d capability records\n", reccnt); } -void +static void usage(void) { (void)fprintf(stderr, |