From 2af96d78c56c9cc81176c732563a5a4338012a0b Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 22 Feb 2016 14:20:37 +0100 Subject: Drop const from fz_image. Image objects are immutable and opaque once constructed. Therefore there is no need for the const keyword. --- source/fitz/device.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/fitz/device.c') diff --git a/source/fitz/device.c b/source/fitz/device.c index ae5b9f24..1926cc16 100644 --- a/source/fitz/device.c +++ b/source/fitz/device.c @@ -270,7 +270,7 @@ fz_fill_shade(fz_context *ctx, fz_device *dev, fz_shade *shade, const fz_matrix } void -fz_fill_image(fz_context *ctx, fz_device *dev, const fz_image *image, const fz_matrix *ctm, float alpha) +fz_fill_image(fz_context *ctx, fz_device *dev, fz_image *image, const fz_matrix *ctm, float alpha) { if (dev->error_depth) return; @@ -279,7 +279,7 @@ fz_fill_image(fz_context *ctx, fz_device *dev, const fz_image *image, const fz_m } void -fz_fill_image_mask(fz_context *ctx, fz_device *dev, const fz_image *image, const fz_matrix *ctm, +fz_fill_image_mask(fz_context *ctx, fz_device *dev, fz_image *image, const fz_matrix *ctm, fz_colorspace *colorspace, const float *color, float alpha) { if (dev->error_depth) @@ -289,7 +289,7 @@ fz_fill_image_mask(fz_context *ctx, fz_device *dev, const fz_image *image, const } void -fz_clip_image_mask(fz_context *ctx, fz_device *dev, const fz_image *image, const fz_rect *rect, const fz_matrix *ctm) +fz_clip_image_mask(fz_context *ctx, fz_device *dev, fz_image *image, const fz_rect *rect, const fz_matrix *ctm) { if (dev->error_depth) { -- cgit v1.2.3