ref: 8a5cea2616e799ec0354d59d1141b29de387193d
parent: 4880a0ed82c59f8be278bed74d6f8b3b9a454795
author: suzuki toshiya <[email protected]>
date: Mon Jan 16 15:41:53 EST 2012
[autofit] Fix the inclusion of "aflatin2.h" in PIC file. * src/autofit/afpic.c: Include "aflatin2.h" when FT_OPTION_AUTOFIT2 is defined, as afglobal.c does so. Unconditionally inclusion causes declared but unimplemented warning by GCC 4.6.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2012-01-16 suzuki toshiya <[email protected]>
+ [autofit] Fix the inclusion of "aflatin2.h" in PIC file.
+
+ * src/autofit/afpic.c: Include "aflatin2.h" when
+ FT_OPTION_AUTOFIT2 is defined, as afglobal.c does so.
+ Unconditionally inclusion causes declared but unimplemented
+ warning by GCC 4.6.
+
+2012-01-16 suzuki toshiya <[email protected]>
+
[cff] Remove redundant declarations of cff_cmap_XXX_class_rec.
* src/cff/cffpic.c: The declarations of
--- a/src/autofit/afpic.c
+++ b/src/autofit/afpic.c
@@ -30,7 +30,9 @@
/* forward declaration of PIC init functions from script classes */
#include "aflatin.h"
+#ifdef FT_OPTION_AUTOFIT2
#include "aflatin2.h"
+#endif
#include "afcjk.h"
#include "afdummy.h"
#include "afindic.h"