From 948f4e4d072ad13eabe702c8b3bd0b83e07c9ec1 Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Wed, 8 Feb 2023 16:00:35 +0800 Subject: [PATCH] util: Fixes error: no previous prototype for 'mesa_cache_db_entry_remove' Fixes: c92c99481fd ("util/mesa-db: Support removal of cache entries") Signed-off-by: Yonggang Luo Reviewed-by: Jesse Natalie Reviewed-by: Timothy Arceri Part-of: --- src/util/mesa_cache_db.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/mesa_cache_db.h b/src/util/mesa_cache_db.h index d88f67ddd4d..f6097d81271 100644 --- a/src/util/mesa_cache_db.h +++ b/src/util/mesa_cache_db.h @@ -115,7 +115,7 @@ mesa_cache_db_entry_write(struct mesa_cache_db *db, return false; } -bool +static inline bool mesa_cache_db_entry_remove(struct mesa_cache_db *db, const uint8_t *cache_key_160bit) {