|
|
1361f6e |
Add missing parameter types for improved C99 compatibility: implicit
|
|
|
1361f6e |
ints are not part of C99.
|
|
|
1361f6e |
|
|
|
1361f6e |
diff -ur t1lib-5.1.2.orig/lib/type1/regions.c t1lib-5.1.2/lib/type1/regions.c
|
|
|
1361f6e |
--- t1lib-5.1.2.orig/lib/type1/regions.c 2007-12-23 16:49:42.000000000 +0100
|
|
|
1361f6e |
+++ t1lib-5.1.2/lib/type1/regions.c 2023-01-18 13:24:18.670386804 +0100
|
|
|
1361f6e |
@@ -604,6 +604,7 @@
|
|
|
1361f6e |
register struct region *R; /* region in which we are changing direction */
|
|
|
1361f6e |
fractpel x,y; /* current beginning x,y */
|
|
|
1361f6e |
fractpel dy; /* direction and magnitude of change in y */
|
|
|
1361f6e |
+ int x2, y2;
|
|
|
1361f6e |
{
|
|
|
1361f6e |
register fractpel ymin,ymax; /* minimum and maximum Y since last call */
|
|
|
1361f6e |
register fractpel x_at_ymin,x_at_ymax; /* their respective X's */
|