util/disk_cache: fix build on platforms where shader cache is disabled
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 21 Mar 2017 00:49:11 +0000 (11:49 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 21 Mar 2017 00:51:03 +0000 (11:51 +1100)
src/util/disk_cache.h

index e3663a6..965fea1 100644 (file)
@@ -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)
 {