[Libreoffice-commits] core.git: vcl/source

David Tardon dtardon at redhat.com
Thu Nov 6 01:26:20 PST 2014


 vcl/source/filter/jpeg/transupp.h |   22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

New commits:
commit 4d687aec3c5ea0f18ab3f01f827cc544e677bae3
Author: David Tardon <dtardon at redhat.com>
Date:   Thu Nov 6 10:20:00 2014 +0100

    just use ANSI C declarations
    
    Change-Id: Iec50f3474b97497c50522eabb4435795b3ba3b56

diff --git a/vcl/source/filter/jpeg/transupp.h b/vcl/source/filter/jpeg/transupp.h
index 4448c9f..4dbbc2a 100644
--- a/vcl/source/filter/jpeg/transupp.h
+++ b/vcl/source/filter/jpeg/transupp.h
@@ -164,27 +164,27 @@ typedef struct {
 
 /* Parse a crop specification (written in X11 geometry style) */
 EXTERN(boolean) jtransform_parse_crop_spec
-    JPP((jpeg_transform_info *info, const char *spec));
+    (jpeg_transform_info *info, const char *spec);
 /* Request any required workspace */
 EXTERN(boolean) jtransform_request_workspace
-    JPP((j_decompress_ptr srcinfo, jpeg_transform_info *info));
+    (j_decompress_ptr srcinfo, jpeg_transform_info *info);
 /* Adjust output image parameters */
 EXTERN(jvirt_barray_ptr *) jtransform_adjust_parameters
-    JPP((j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
+    (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
          jvirt_barray_ptr *src_coef_arrays,
-         jpeg_transform_info *info));
+         jpeg_transform_info *info);
 /* Execute the actual transformation, if any */
 EXTERN(void) jtransform_execute_transform
-    JPP((j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
+    (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
          jvirt_barray_ptr *src_coef_arrays,
-         jpeg_transform_info *info));
+         jpeg_transform_info *info);
 /* Determine whether lossless transformation is perfectly
  * possible for a specified image and transformation.
  */
 EXTERN(boolean) jtransform_perfect_transform
-    JPP((JDIMENSION image_width, JDIMENSION image_height,
+    (JDIMENSION image_width, JDIMENSION image_height,
          int MCU_width, int MCU_height,
-         JXFORM_CODE transform));
+         JXFORM_CODE transform);
 
 /* jtransform_execute_transform used to be called
  * jtransform_execute_transformation, but some compilers complain about
@@ -209,8 +209,8 @@ typedef enum {
 
 /* Setup decompression object to save desired markers in memory */
 EXTERN(void) jcopy_markers_setup
-    JPP((j_decompress_ptr srcinfo, JCOPY_OPTION option));
+    (j_decompress_ptr srcinfo, JCOPY_OPTION option);
 /* Copy markers saved in the given source object to the destination object */
 EXTERN(void) jcopy_markers_execute
-    JPP((j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
-         JCOPY_OPTION option));
+    (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
+         JCOPY_OPTION option);


More information about the Libreoffice-commits mailing list