summaryrefslogtreecommitdiff
path: root/src/global.c
diff options
context:
space:
mode:
authorVicent Marti <vicent@github.com>2014-02-25 10:46:41 +0100
committerVicent Marti <vicent@github.com>2014-02-25 10:46:41 +0100
commitcb81c3a764447ceb2cd693935bf970138ea60ccc (patch)
treeaaccb862502fff37d3c5d71a191e20e5a16469b2 /src/global.c
parent1c8b339d3483bb5262174908b376dc1152787021 (diff)
parent83634d38be2d0a1ac006d912216cd6787c2b1542 (diff)
downloadlibgit2-cb81c3a764447ceb2cd693935bf970138ea60ccc.tar.gz
Merge pull request #2138 from ethomson/sysdir
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;
}