ref: bcd8c0b0ebce807b5f58303fd48dc9a3e7e7605b
parent: 71c0ad65207821e8e50077e3b170a251f719c623
author: Werner Lemberg <[email protected]>
date: Tue Aug 27 17:36:03 EDT 2013
Remove `FT_SqrtFixed' function. It's no longer used. * include/freetype/internal/ftcalc.h, src/base/ftcalc.c: Do it.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2013-08-27 Werner Lemberg <[email protected]>
+ Remove `FT_SqrtFixed' function.
+
+ It's no longer used.
+
+ * include/freetype/internal/ftcalc.h, src/base/ftcalc.c: Do it.
+
+2013-08-27 Werner Lemberg <[email protected]>
+
[autofit] While tracing, report script names instead of ID values.
* src/autofit/afglobal.c (af_script_names) [FT_DEBUG_LEVEL_TRACE]:
--- a/include/freetype/internal/ftcalc.h
+++ b/include/freetype/internal/ftcalc.h
@@ -27,10 +27,12 @@
FT_BEGIN_HEADER
+#if 0
+
/*************************************************************************/
/* */
/* <Function> */
- /* FT_FixedSqrt */
+ /* FT_SqrtFixed */
/* */
/* <Description> */
/* Computes the square root of a 16.16 fixed-point value. */
@@ -46,6 +48,8 @@
/* */
FT_BASE( FT_Int32 )
FT_SqrtFixed( FT_Int32 x );
+
+#endif /* 0 */
/*************************************************************************/
--- a/src/base/ftcalc.c
+++ b/src/base/ftcalc.c
@@ -816,6 +816,8 @@
}
+#if 0
+
/* documentation is in ftcalc.h */
FT_BASE_DEF( FT_Int32 )
@@ -849,6 +851,8 @@
return (FT_Int32)root;
}
+
+#endif /* 0 */
/* documentation is in ftcalc.h */