1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-07-02 07:40:30 +02:00

Remove unused scm_make_cache

* libguile/cache-internal.h (scm_make_cache): Remove.
This commit is contained in:
Andy Wingo 2025-06-25 11:40:04 +02:00
parent 552960b3e2
commit 5fe6bc9d66

View file

@ -1,7 +1,7 @@
#ifndef SCM_CACHE_INTERNAL_H
#define SCM_CACHE_INTERNAL_H
/* Copyright 2016,2018
/* Copyright 2016,2018,2025
Free Software Foundation, Inc.
This file is part of Guile.
@ -45,14 +45,6 @@ struct scm_cache
struct scm_cache_entry entries[SCM_CACHE_SIZE];
};
static inline struct scm_cache*
scm_make_cache (void)
{
struct scm_cache *ret = scm_gc_typed_calloc (struct scm_cache);
ret->eviction_cookie = (scm_t_bits) ret;
return ret;
}
static inline int
scm_cache_full_p (struct scm_cache *cache)
{