diff --git a/inc/ocf_cache.h b/inc/ocf_cache.h index 7d92aaf..13d08ba 100644 --- a/inc/ocf_cache.h +++ b/inc/ocf_cache.h @@ -107,18 +107,6 @@ struct ocf_cache_info { */ ocf_volume_t ocf_cache_get_volume(ocf_cache_t cache); -/** - * @brief Set name of given cache object - * - * @param[in] cache Cache object - * @param[in] src Source of Cache name - * @param[in] src_size Size of src - * - * @retval 0 Success - * @retval Non-zero Fail - */ -int ocf_cache_set_name(ocf_cache_t cache, const char *src, size_t src_size); - /** * @brief Get name of given cache object * diff --git a/src/ocf_cache_priv.h b/src/ocf_cache_priv.h index 7f54881..89eb2e7 100644 --- a/src/ocf_cache_priv.h +++ b/src/ocf_cache_priv.h @@ -212,4 +212,6 @@ static inline uint64_t ocf_get_cache_occupancy(ocf_cache_t cache) return result; } +int ocf_cache_set_name(ocf_cache_t cache, const char *src, size_t src_size); + #endif /* __OCF_CACHE_PRIV_H__ */