summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nscd/cachelib.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/nscd/cachelib.h')
-rw-r--r--usr.sbin/nscd/cachelib.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/usr.sbin/nscd/cachelib.h b/usr.sbin/nscd/cachelib.h
index a80bd48..e466f1f 100644
--- a/usr.sbin/nscd/cachelib.h
+++ b/usr.sbin/nscd/cachelib.h
@@ -87,11 +87,8 @@ struct cache_entry_params
/* params, used for most entries */
struct common_cache_entry_params
{
- /* inherited fields */
- enum cache_entry_t entry_type;
+ struct cache_entry_params cep;
- /* unique fields */
- char *entry_name;
size_t cache_entries_size;
size_t max_elemsize; /* if 0 then no check is made */
@@ -105,9 +102,7 @@ struct common_cache_entry_params
/* params, used for multipart entries */
struct mp_cache_entry_params
{
- /* inherited fields */
- enum cache_entry_t entry_type;
- char *entry_name;
+ struct cache_entry_params cep;
/* unique fields */
size_t max_elemsize; /* if 0 then no check is made */
OpenPOWER on IntegriCloud