* src/cache/ftccache.c (ftc_node_destroy) [!FT_CONFIG_OPTION_OLD_INTERNALS]: Mark as FT_LOCAL_DEF. This should now fix all possible compilation options.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
diff --git a/ChangeLog b/ChangeLog
index e1b7fd2..de05f60 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,14 +4,18 @@
[FT_CONFIG_OPTION_OLD_INTERNALS]: Remove declaration of
ftc_node_done.
+ * src/cache/ftccache.c (ftc_node_destroy)
+ [!FT_CONFIG_OPTION_OLD_INTERNALS]: Mark as FT_LOCAL_DEF. This
+ should now fix all possible compilation options.
+
2006-02-27 David Turner <david@freetype.org>
* src/base/ftutil.c (ft_mem_alloc, ft_mem_qalloc, ft_mem_realloc,
ft_mem_qrealloc): Return an error if a negative size is passed in
parameters.
- * src/cache/ftccache.c: Make ftc_node_destroy FT_BASE_DEF, it needs
- to be exported for rogue clients.
+ * src/cache/ftccache.c (ftc_node_destroy): Mark as FT_BASE_DEF since
+ it needs to be exported for rogue clients.
* src/pshinter/pshglob.c (psh_blues_set_zones_0): Prevent problems
with malformed fonts which have an odd number of blue values (these
@@ -25,16 +29,16 @@
2006-02-27 Chia-I Wu <b90201047@ntu.edu.tw>
- * src/base/ftobjs.c (FT_Set_Char_Size): Ahh.. forgot to check the case
- width or height is 0.
+ * src/base/ftobjs.c (FT_Set_Char_Size): Check the case where width
+ or height is 0.
2006-02-27 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
* builds/mac/FreeType.m68k_cfm.make.txt,
builds/mac/FreeType.m68k_far.make.txt,
builds/mac/FreeType.ppc_carbon.make.txt,
- builds/mac/FreeType.ppc_classic.make.txt:
- Update to new header inclusion introduced on 2006-02-16.
+ builds/mac/FreeType.ppc_classic.make.txt: Update to new header
+ inclusion introduced on 2006-02-16.
2006-02-27 Chia-I Wu <b90201047@ntu.edu.tw>
diff --git a/src/cache/ftccache.c b/src/cache/ftccache.c
index fd756fa..b135114 100644
--- a/src/cache/ftccache.c
+++ b/src/cache/ftccache.c
@@ -256,8 +256,11 @@
/* remove a node from the cache manager */
- /* this function is FT_BASE since it may be called by old rogue clients */
+#ifdef FT_CONFIG_OPTION_OLD_INTERNALS
FT_BASE_DEF( void )
+#else
+ FT_LOCAL_DEF( void )
+#endif
ftc_node_destroy( FTC_Node node,
FTC_Manager manager )
{