diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileops.c | 2 | ||||
| -rw-r--r-- | src/fileops.h | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/fileops.c b/src/fileops.c index 1c27b277d..5763b370b 100644 --- a/src/fileops.c +++ b/src/fileops.c @@ -618,7 +618,7 @@ static git_futils_dirs_guess_cb git_futils__dir_guess[GIT_FUTILS_DIR__MAX] = { git_futils_guess_template_dirs, }; -static void git_futils_dirs_global_shutdown(void) +void git_futils_dirs_global_shutdown(void) { int i; for (i = 0; i < GIT_FUTILS_DIR__MAX; ++i) diff --git a/src/fileops.h b/src/fileops.h index 59a6a21a7..636c9b67d 100644 --- a/src/fileops.h +++ b/src/fileops.h @@ -399,4 +399,9 @@ extern int git_futils_filestamp_check( extern void git_futils_filestamp_set( git_futils_filestamp *tgt, const git_futils_filestamp *src); +/** + * Free the configuration file search paths. + */ +extern void git_futils_dirs_global_shutdown(void); + #endif /* INCLUDE_fileops_h__ */ |
