diff options
author | Colin Watson <cjwatson@debian.org> | 2014-09-09 23:08:38 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2014-09-09 23:08:38 +0100 |
commit | cfd69ae971f1b23887ace7806b4fcd8281be1d2c (patch) | |
tree | f9eb5ab65955ba34b32019a2e42fc249993a55e2 | |
parent | 47ab86008870e59888f034975469a13a3efa7e58 (diff) |
Make update_db_time static
* src/check_mandirs.c (update_db_time): Make this static; its only
uses are within the same file.
* src/check_mandirs.h (update_db_time): Remove prototype.
-rw-r--r-- | src/check_mandirs.c | 2 | ||||
-rw-r--r-- | src/check_mandirs.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/check_mandirs.c b/src/check_mandirs.c index debbdbe6..e9a46885 100644 --- a/src/check_mandirs.c +++ b/src/check_mandirs.c @@ -526,7 +526,7 @@ static int testmandirs (const char *path, const char *catpath, time_t last, } /* update the time key stored within `database' */ -void update_db_time (void) +static void update_db_time (void) { datum key, content; #ifdef FAST_BTREE diff --git a/src/check_mandirs.h b/src/check_mandirs.h index 64997c47..38d93e5f 100644 --- a/src/check_mandirs.h +++ b/src/check_mandirs.h @@ -24,7 +24,6 @@ /* check_mandirs.c */ extern void test_manfile (const char *file, const char *path); -extern void update_db_time (void); extern int create_db (const char *manpath, const char *catpath); extern int update_db (const char *manpath, const char *catpath); extern void purge_pointers (const char *name); |