summaryrefslogtreecommitdiff
path: root/src/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cache.h')
-rw-r--r--src/cache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cache.h b/src/cache.h
index 9c09954ae..d2386eea6 100644
--- a/src/cache.h
+++ b/src/cache.h
@@ -24,7 +24,7 @@ enum {
typedef struct {
git_oid oid;
- int16_t type; /* git_otype value */
+ int16_t type; /* git_object_t value */
uint16_t flags; /* GIT_CACHE_STORE value */
size_t size;
git_atomic refcount;
@@ -40,7 +40,7 @@ extern bool git_cache__enabled;
extern ssize_t git_cache__max_storage;
extern git_atomic_ssize git_cache__current_storage;
-int git_cache_set_max_object_size(git_otype type, size_t size);
+int git_cache_set_max_object_size(git_object_t type, size_t size);
int git_cache_init(git_cache *cache);
void git_cache_free(git_cache *cache);