summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2017-06-09 20:31:24 +0200
committerWerner Lemberg <wl@gnu.org>2017-06-09 20:31:24 +0200
commitfaf34d29e222598a392ad65858813d161ebd50ac (patch)
tree800b395e66139708a42542e993365858ddd2ab40
parentdcd8de272f940065b6a326b16518e3e5acb695a6 (diff)
downloadfreetype2-faf34d29e222598a392ad65858813d161ebd50ac.tar.gz
Remove unused macros.
* include/freetype/internal/ftcalc.h (ADD_INT, SUB_INT, MUL_INT, NEG_INT): Deleted.
-rw-r--r--ChangeLog7
-rw-r--r--include/freetype/internal/ftcalc.h9
2 files changed, 7 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 8c19a0fe2..cd3786db7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2017-06-09 Werner Lemberg <wl@gnu.org>
+ Remove unused macros.
+
+ * include/freetype/internal/ftcalc.h (ADD_INT, SUB_INT, MUL_INT,
+ NEG_INT): Deleted.
+
+2017-06-09 Werner Lemberg <wl@gnu.org>
+
*/*: Remove `OVERFLOW_' prefix.
This increases readability.
diff --git a/include/freetype/internal/ftcalc.h b/include/freetype/internal/ftcalc.h
index 524096d41..d93a05488 100644
--- a/include/freetype/internal/ftcalc.h
+++ b/include/freetype/internal/ftcalc.h
@@ -417,15 +417,6 @@ FT_BEGIN_HEADER
*
* Use with care!
*/
-#define ADD_INT( a, b ) \
- (FT_Int)( (FT_UInt)(a) + (FT_UInt)(b) )
-#define SUB_INT( a, b ) \
- (FT_Int)( (FT_UInt)(a) - (FT_UInt)(b) )
-#define MUL_INT( a, b ) \
- (FT_Int)( (FT_UInt)(a) * (FT_UInt)(b) )
-#define NEG_INT( a ) \
- (FT_Int)( -(FT_UInt)(a) )
-
#define ADD_LONG( a, b ) \
(FT_Long)( (FT_ULong)(a) + (FT_ULong)(b) )
#define SUB_LONG( a, b ) \