diff options
author | Jjgod Jiang <gzjjgod@gmail.com> | 2014-08-04 21:56:36 +0000 |
---|---|---|
committer | Jjgod Jiang <gzjjgod@gmail.com> | 2014-08-04 21:56:36 +0000 |
commit | 74f38ed6a0ef898bb6a188e4d89bb85bb4ac7ebe (patch) | |
tree | 7d58c7aeee2d1a991e48365d2e95224db28b70d6 /Build/source/texk/dvipdfm-x/pngimage.c | |
parent | 40cde69d904eb89fe89fcd7bc4b7d458d113fe6d (diff) |
Fix some warnings and remove unused code
git-svn-id: svn://tug.org/texlive/trunk@34837 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/pngimage.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/pngimage.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/dvipdfm-x/pngimage.c b/Build/source/texk/dvipdfm-x/pngimage.c index 5e0e7817d5e..ec902dbcf59 100644 --- a/Build/source/texk/dvipdfm-x/pngimage.c +++ b/Build/source/texk/dvipdfm-x/pngimage.c @@ -134,7 +134,7 @@ static pdf_obj *strip_soft_mask (png_structp png_ptr, png_infop info_ptr, png_uint_32 width, png_uint_32 height); /* Read image body */ -static void read_image_data (png_structp png_ptr, png_infop info_ptr, +static void read_image_data (png_structp png_ptr, png_bytep dest_ptr, png_uint_32 height, png_uint_32 rowbytes); @@ -231,7 +231,7 @@ png_include_image (pdf_ximage *ximage, FILE *png_file) stream_dict = pdf_stream_dict(stream); stream_data_ptr = (png_bytep) NEW(rowbytes*height, png_byte); - read_image_data(png_ptr, png_info_ptr, stream_data_ptr, height, rowbytes); + read_image_data(png_ptr, stream_data_ptr, height, rowbytes); /* Non-NULL intent means there is valid sRGB chunk. */ intent = get_rendering_intent(png_ptr, png_info_ptr); @@ -1009,8 +1009,8 @@ strip_soft_mask (png_structp png_ptr, png_infop info_ptr, } static void -read_image_data (png_structp png_ptr, png_infop info_ptr, /* info_ptr unused */ - png_bytep dest_ptr, png_uint_32 height, png_uint_32 rowbytes) +read_image_data (png_structp png_ptr, png_bytep dest_ptr, + png_uint_32 height, png_uint_32 rowbytes) { png_bytepp rows_p; png_uint_32 i; |