# HG changeset patch # User jwe # Date 1035576811 0 # Node ID e07466fb2458c3a6a750e1197533dbbb243c92ce # Parent b10790694d485be973fdad3a552670d010126a2b [project @ 2002-10-25 20:13:31 by jwe] diff -r b10790694d48 -r e07466fb2458 kpathsea/elt-dirs.c --- a/kpathsea/elt-dirs.c Fri Oct 25 20:05:24 2002 +0000 +++ b/kpathsea/elt-dirs.c Fri Oct 25 20:13:31 2002 +0000 @@ -68,6 +68,7 @@ static cache_entry *the_cache = NULL; static unsigned cache_length = 0; +#if 0 void kpse_clear_dir_cache P1H(void) { @@ -95,6 +96,7 @@ the_cache = NULL; } +#endif /* Associate KEY with VALUE. We implement the cache as a simple linear list, since it's unlikely to ever be more than a dozen or so elements diff -r b10790694d48 -r e07466fb2458 kpathsea/pathsearch.h --- a/kpathsea/pathsearch.h Fri Oct 25 20:05:24 2002 +0000 +++ b/kpathsea/pathsearch.h Fri Oct 25 20:13:31 2002 +0000 @@ -72,8 +72,10 @@ all the filenames (or NULL if none), instead of taking the first. */ extern string *kpse_all_path_search P2H(const_string path, const_string name); +#if 0 /* Clear the directory cache. */ extern void kpse_clear_dir_cache P1H(void); +#endif #endif /* not KPATHSEA_PATHSEARCH_H */