From b377db8a958278ad0d4a47058f1a5d55b7d8b4ba Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 29 Apr 1996 20:04:23 +0000 Subject: (struct cacheq); Make type of LRU & MRU fields `void *'. --- libshouldbeinlibc/cacheq.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libshouldbeinlibc/cacheq.h') diff --git a/libshouldbeinlibc/cacheq.h b/libshouldbeinlibc/cacheq.h index d3c688e8..a221a7a7 100644 --- a/libshouldbeinlibc/cacheq.h +++ b/libshouldbeinlibc/cacheq.h @@ -69,8 +69,10 @@ struct cacheq either end of a linked list composed of all the elements of the cache. This list will always be the same length -- if an element is `removed', its entry is simply marked inactive, and moved to the LRU end of the list - so it will be reused first. */ - struct cacheq_hdr *lru, *mru; + so it will be reused first. These pointers are of type `void *' so they + can be conveniently used by client code (see comment in struct + cacheq_hdr). */ + void *lru, *mru; }; /* Move ENTRY to the most-recently-used end of CACHEQ. */ -- cgit v1.2.3