From 25ffc4ae927210270b23b7d030d360a6d0008488 Mon Sep 17 00:00:00 2001 From: Leandro Ribeiro Date: Tue, 20 Jun 2023 00:18:03 -0300 Subject: [PATCH] color-lcms: rename curve_set_print() to curveset_print() Just to be consistent with the other functions in the code. Signed-off-by: Leandro Ribeiro --- libweston/color-lcms/color-curve-segments.c | 2 +- libweston/color-lcms/color-curve-segments.h | 4 ++-- libweston/color-lcms/color-transform.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libweston/color-lcms/color-curve-segments.c b/libweston/color-lcms/color-curve-segments.c index 1d9970340..c7072d399 100644 --- a/libweston/color-lcms/color-curve-segments.c +++ b/libweston/color-lcms/color-curve-segments.c @@ -519,7 +519,7 @@ join_powerlaw_curvesets(cmsContext context_id, } void -curve_set_print(cmsStage *stage, struct weston_log_scope *scope) +curveset_print(cmsStage *stage, struct weston_log_scope *scope) { const _cmsStageToneCurvesData *data; uint32_t already_printed = 0; diff --git a/libweston/color-lcms/color-curve-segments.h b/libweston/color-lcms/color-curve-segments.h index 595b07582..63610c463 100644 --- a/libweston/color-lcms/color-curve-segments.h +++ b/libweston/color-lcms/color-curve-segments.h @@ -33,7 +33,7 @@ #if HAVE_CMS_GET_TONE_CURVE_SEGMENT void -curve_set_print(cmsStage *stage, struct weston_log_scope *scope); +curveset_print(cmsStage *stage, struct weston_log_scope *scope); bool are_curvesets_inverse(cmsStage *set_A, cmsStage *set_B); @@ -48,7 +48,7 @@ join_powerlaw_curvesets(cmsContext context_id, # else /* HAVE_CMS_GET_TONE_CURVE_SEGMENT */ static inline void -curve_set_print(cmsStage *stage, struct weston_log_scope *scope) +curveset_print(cmsStage *stage, struct weston_log_scope *scope) { weston_log_scope_printf(scope, "%*scmsGetToneCurveSegment() symbol not " \ "found, so can't print curve set\n", 6, ""); diff --git a/libweston/color-lcms/color-transform.c b/libweston/color-lcms/color-transform.c index 25620e845..721d14b28 100644 --- a/libweston/color-lcms/color-transform.c +++ b/libweston/color-lcms/color-transform.c @@ -727,7 +727,7 @@ pipeline_print(cmsPipeline **lut, cmsContext context_id, matrix_print(stage, scope); break; case cmsSigCurveSetElemType: - curve_set_print(stage, scope); + curveset_print(stage, scope); break; default: break;