summaryrefslogtreecommitdiff
path: root/src/global.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2014-02-24 17:43:10 -0800
committerEdward Thomson <ethomson@microsoft.com>2014-02-24 17:52:38 -0800
commit83634d38be2d0a1ac006d912216cd6787c2b1542 (patch)
tree9b13ce789492d17d2030992762959f36b8d89d71 /src/global.c
parent98b9366212ac6670bd5f90e70400e7cf09aea16a (diff)
downloadlibgit2-83634d38be2d0a1ac006d912216cd6787c2b1542.tar.gz
Move system directory cache out of utils
Diffstat (limited to 'src/global.c')
-rw-r--r--src/global.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/global.c b/src/global.c
index 7d39c6fa8..8c8f55a90 100644
--- a/src/global.c
+++ b/src/global.c
@@ -7,7 +7,7 @@
#include "common.h"
#include "global.h"
#include "hash.h"
-#include "fileops.h"
+#include "sysdir.h"
#include "git2/threads.h"
#include "thread-utils.h"
@@ -86,7 +86,7 @@ static int synchronized_threads_init()
/* Initialize any other subsystems that have global state */
if ((error = git_hash_global_init()) >= 0)
- error = git_futils_dirs_global_init();
+ error = git_sysdir_global_init();
win32_pthread_initialize();
@@ -169,7 +169,7 @@ static void init_once(void)
/* Initialize any other subsystems that have global state */
if ((init_error = git_hash_global_init()) >= 0)
- init_error = git_futils_dirs_global_init();
+ init_error = git_sysdir_global_init();
GIT_MEMORY_BARRIER;
}