summaryrefslogtreecommitdiff
path: root/src/cache/ftcmru.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cache/ftcmru.c')
-rw-r--r--src/cache/ftcmru.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/cache/ftcmru.c b/src/cache/ftcmru.c
index a455848c5..b7bb1f1f3 100644
--- a/src/cache/ftcmru.c
+++ b/src/cache/ftcmru.c
@@ -15,9 +15,7 @@
/* */
/***************************************************************************/
-
-#include <ft2build.h>
-#include FT_CACHE_H
+#include "ftcint.h"
#include FT_CACHE_INTERNAL_MRU_H
#include FT_INTERNAL_OBJECTS_H
#include FT_INTERNAL_DEBUG_H
@@ -322,6 +320,14 @@
FT_EXPORT_DEF( void )
+ FTC_MruList_RemoveOldest( FTC_MruList list )
+ {
+ if ( list && list->nodes )
+ FTC_MruList_Remove( list, list->nodes->prev );
+ }
+
+
+ FT_EXPORT_DEF( void )
FTC_MruList_RemoveSelection( FTC_MruList list,
FTC_MruNode_EqualFunc selection,
FT_Pointer key )