summaryrefslogtreecommitdiff
path: root/src/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cache.h')
-rw-r--r--src/cache.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cache.h b/src/cache.h
index 3461ff7d5..f952830c5 100644
--- a/src/cache.h
+++ b/src/cache.h
@@ -23,14 +23,13 @@ enum {
typedef struct {
git_oid oid;
git_atomic refcount;
- uint16_t flags;
- uint16_t lru;
+ uint32_t cache_size;
+ uint32_t flags;
} git_cached_obj;
typedef struct {
git_oidmap *map;
git_mutex lock;
- unsigned int lru_count;
} git_cache;
int git_cache_init(git_cache *cache);