about summary refs log tree commit diff
path: root/converter/other/pamtosvg
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2006-10-01 17:12:42 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2006-10-01 17:12:42 +0000
commitb31e75a79a6f096f3462292fd48494035f0be0fe (patch)
tree68d7af8b0bd1c78f8c93dcddd1a7e24a36e11700 /converter/other/pamtosvg
parent118ba884419d79e5bd2dd83a1e1a40b99ac64f65 (diff)
downloadnetpbm-mirror-b31e75a79a6f096f3462292fd48494035f0be0fe.tar.gz
netpbm-mirror-b31e75a79a6f096f3462292fd48494035f0be0fe.tar.xz
netpbm-mirror-b31e75a79a6f096f3462292fd48494035f0be0fe.zip
Fix prototypes that don't literally match definitions, for Irix compiler
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@77 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/pamtosvg')
-rw-r--r--converter/other/pamtosvg/curve.h2
-rw-r--r--converter/other/pamtosvg/fit.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/converter/other/pamtosvg/curve.h b/converter/other/pamtosvg/curve.h
index db3cc682..ee046620 100644
--- a/converter/other/pamtosvg/curve.h
+++ b/converter/other/pamtosvg/curve.h
@@ -83,7 +83,7 @@ append_pixel(curve_type    const c,
              pm_pixelcoord const p);
 
 /* Like `append_pixel', for a point in real coordinates.  */
-extern void append_point (curve_type c, float_coord p);
+extern void append_point (curve_type const c, float_coord const p);
 
 /* Write some or all, respectively, of the curve C in human-readable
    form to the log file, if logging is enabled.  */
diff --git a/converter/other/pamtosvg/fit.c b/converter/other/pamtosvg/fit.c
index bcda033f..08db41db 100644
--- a/converter/other/pamtosvg/fit.c
+++ b/converter/other/pamtosvg/fit.c
@@ -61,12 +61,12 @@ static void remove_adjacent_corners (index_list_type *, unsigned, bool,
                      at_exception_type * exception);
 static void filter (curve_type, fitting_opts_type *);
 static void find_vectors
-  (unsigned, pixel_outline_type, vector_type *, vector_type *, unsigned);
+  (unsigned const, pixel_outline_type const, vector_type * const, vector_type * const, unsigned const);
 static float find_error (curve_type, spline_type, unsigned *,
                at_exception_type * exception);
 static vector_type find_half_tangent (curve_type, bool start, unsigned *, unsigned);
 static void find_tangent (curve_type, bool, bool, unsigned);
-static void remove_knee_points (curve_type, bool);
+static void remove_knee_points (curve_type const, bool const);
 static void set_initial_parameter_values (curve_type);
 static float distance (float_coord, float_coord);