From: Timothy Arceri Date: Tue, 21 Mar 2017 00:49:11 +0000 (+1100) Subject: util/disk_cache: fix build on platforms where shader cache is disabled X-Git-Tag: upstream/17.1.0~1172 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=020b3f0c4696af198af2b058ec1800723544a2ec;p=platform%2Fupstream%2Fmesa.git util/disk_cache: fix build on platforms where shader cache is disabled --- diff --git a/src/util/disk_cache.h b/src/util/disk_cache.h index e3663a6..965fea1 100644 --- a/src/util/disk_cache.h +++ b/src/util/disk_cache.h @@ -229,7 +229,7 @@ disk_cache_has_key(struct disk_cache *cache, const cache_key key) return false; } -void +static inline void disk_cache_compute_key(struct disk_cache *cache, const void *data, size_t size, const cache_key key) {