summaryrefslogtreecommitdiff
path: root/Build/source/texk/ps2pkm/curves.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/ps2pkm/curves.c')
-rw-r--r--Build/source/texk/ps2pkm/curves.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/Build/source/texk/ps2pkm/curves.c b/Build/source/texk/ps2pkm/curves.c
index 507e0a73cd2..77da96b5dfa 100644
--- a/Build/source/texk/ps2pkm/curves.c
+++ b/Build/source/texk/ps2pkm/curves.c
@@ -89,8 +89,8 @@ struct bezierinfo {
to subdivide.
*/
-int BezierTerminationTest(xa,ya,xb,yb,xc,yc,xd,yd)
-fractpel xa,ya,xb,yb,xc,yc,xd,yd;
+static int BezierTerminationTest(fractpel xa, fractpel ya, fractpel xb, fractpel yb,
+ fractpel xc, fractpel yc, fractpel xd, fractpel yd)
{
fractpel dmax;
dmax = ABS(xa - xb);
@@ -192,12 +192,12 @@ the starting values. If this overflows, a 'long', we are in trouble:
This is the entry point called from outside the module.
*/
-struct segment *StepBezier(R, xA, yA, xB, yB, xC, yC, xD, yD)
- struct region *R; /* Region under construction or NULL */
- fractpel xA,yA; /* A control point */
- fractpel xB,yB; /* B control point */
- fractpel xC,yC; /* C control point */
- fractpel xD,yD; /* D control point */
+struct segment *StepBezier(
+ struct region *R, /* Region under construction or NULL */
+ fractpel xA, fractpel yA, /* A control point */
+ fractpel xB, fractpel yB, /* B control point */
+ fractpel xC, fractpel yC, /* C control point */
+ fractpel xD, fractpel yD) /* D control point */
{
struct bezierinfo Info;