Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
cache.h: rename cache_def_free to cache_def_clear
[gitweb.git]
/
cache.h
diff --git
a/cache.h
b/cache.h
index b86eb84dbdb163543ec4c0dcf53860fe1d40d1ad..f505ffbcf4169c6fef59e31845a081453d6304aa 100644
(file)
--- a/
cache.h
+++ b/
cache.h
@@
-1074,7
+1074,7
@@
struct cache_def {
int prefix_len_stat_func;
};
#define CACHE_DEF_INIT { STRBUF_INIT, 0, 0, 0 }
-static inline void cache_def_
free
(struct cache_def *cache)
+static inline void cache_def_
clear
(struct cache_def *cache)
{
strbuf_release(&cache->path);
}