diff options
-rw-r--r-- | libshouldbeinlibc/cacheq.h | 6 |
1 files changed, 4 insertions, 2 deletions
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. */ |