return NULL;
}
-CACHE_DECLARE(void*) cache_hash_set(cache_hash_t *ht,
- const void *key,
- apr_ssize_t klen,
- const void *val)
+CACHE_DECLARE(const void *) cache_hash_set(cache_hash_t *ht,
+ const void *key,
+ apr_ssize_t klen,
+ const void *val)
{
cache_hash_entry_t **hep, *tmp;
const void *tval;
* @remark If the value is NULL the hash entry is deleted.
* @return The value of the deleted cache entry (so the caller can clean it up).
*/
-CACHE_DECLARE(void *) cache_hash_set(cache_hash_t *ht, const void *key,
- apr_ssize_t klen, const void *val);
+CACHE_DECLARE(const void *) cache_hash_set(cache_hash_t *ht, const void *key,
+ apr_ssize_t klen, const void *val);
/**
* Look up the value associated with a key in a hash table.