disk_cache: move evict_lru_item() to an OS specific helper

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6197>
This commit is contained in:
Timothy Arceri
2020-08-05 13:35:39 +10:00
committed by Marge Bot
parent e1236470dc
commit b4a3a80403
3 changed files with 191 additions and 184 deletions
+3
View File
@@ -76,6 +76,9 @@ struct disk_cache {
char *
disk_cache_generate_cache_dir(void *mem_ctx);
void
disk_cache_evict_lru_item(struct disk_cache *cache);
bool
disk_cache_enabled(void);