summaryrefslogtreecommitdiff
path: root/src/cache.h
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2011-05-15 06:57:34 +0200
committernulltoken <emeric.fermas@gmail.com>2011-05-15 06:57:34 +0200
commit81201a4c4d1e8704260ab4572eb6c480d576fe83 (patch)
treef904ca7a97fb3423ebec1f5cd04ed244a4a5d8b7 /src/cache.h
parent3abe3bba5ab234a8fcbf4cc7a50adc86323d7287 (diff)
downloadlibgit2-81201a4c4d1e8704260ab4572eb6c480d576fe83.tar.gz
Move cache.c to the new error handling
Diffstat (limited to 'src/cache.h')
-rw-r--r--src/cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache.h b/src/cache.h
index 975aaff7e..2d9bb51eb 100644
--- a/src/cache.h
+++ b/src/cache.h
@@ -31,7 +31,7 @@ typedef struct {
} git_cache;
-void git_cache_init(git_cache *cache, size_t size, git_cached_obj_freeptr free_ptr);
+int git_cache_init(git_cache *cache, size_t size, git_cached_obj_freeptr free_ptr);
void git_cache_free(git_cache *cache);
void *git_cache_try_store(git_cache *cache, void *entry);