summaryrefslogtreecommitdiff
path: root/base/gscie.c
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2016-10-05 09:36:33 -0700
committerMichael Vrhel <michael.vrhel@artifex.com>2016-10-05 09:37:27 -0700
commitf3de2191afc0d8fcf0285736d2d25fa6071a7981 (patch)
treeb2c77dfdcdf0e503d43127006f20d4d67360b25c /base/gscie.c
parent6f749c0c44e7b9e09737b9f29edf29925a34f0cf (diff)
downloadghostpdl-f3de2191afc0d8fcf0285736d2d25fa6071a7981.tar.gz
Bug 696860 remove memcmp of structs in gscrdp.c
Diffstat (limited to 'base/gscie.c')
-rw-r--r--base/gscie.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/base/gscie.c b/base/gscie.c
index 9634df1cd..35caa3f38 100644
--- a/base/gscie.c
+++ b/base/gscie.c
@@ -661,7 +661,8 @@ cie_cache_mult3(gx_cie_vector_cache3_t * pvc, const gs_matrix3 * pmat,
/* ------ Install a rendering dictionary ------ */
-static bool vector_equal(const gs_vector3 *p1, const gs_vector3 *p2)
+bool
+vector_equal(const gs_vector3 *p1, const gs_vector3 *p2)
{
if (p1->u != p2->u)
return false;
@@ -672,7 +673,8 @@ static bool vector_equal(const gs_vector3 *p1, const gs_vector3 *p2)
return true;
}
-static bool matrix_equal(const gs_matrix3 *p1, const gs_matrix3 *p2)
+bool
+matrix_equal(const gs_matrix3 *p1, const gs_matrix3 *p2)
{
if (p1->is_identity != p2->is_identity)
return false;
@@ -685,7 +687,8 @@ static bool matrix_equal(const gs_matrix3 *p1, const gs_matrix3 *p2)
return true;
}
-static bool transform_equal(const gs_cie_transform_proc3 *p1, const gs_cie_transform_proc3 *p2)
+static bool
+transform_equal(const gs_cie_transform_proc3 *p1, const gs_cie_transform_proc3 *p2)
{
if (p1->proc != p2->proc)
return false;
@@ -700,7 +703,8 @@ static bool transform_equal(const gs_cie_transform_proc3 *p1, const gs_cie_trans
return true;
}
-static bool range_equal(const gs_range3 *p1, const gs_range3 *p2)
+bool
+range_equal(const gs_range3 *p1, const gs_range3 *p2)
{
int k;