Module: Mesa Branch: main Commit: 948f4e4d072ad13eabe702c8b3bd0b83e07c9ec1 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=948f4e4d072ad13eabe702c8b3bd0b83e07c9ec1
Author: Yonggang Luo <[email protected]> Date: Wed Feb 8 16:00:35 2023 +0800 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 <[email protected]> Reviewed-by: Jesse Natalie <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21191> --- 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) {
