summaryrefslogtreecommitdiff
path: root/mi/mifillarc.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@benzedrine.nwnk.net>2007-03-25 17:56:32 -0400
committerAdam Jackson <ajax@benzedrine.nwnk.net>2007-03-25 17:56:32 -0400
commitaf769892a91c9af59de53ca3bcd77fc4967daffb (patch)
tree2c5086885337e8f52d7f571511a8174938b73ad2 /mi/mifillarc.c
parent62224e39727fd6f1cf11a461983662f615a9fea1 (diff)
Static and dead code cleanup from mi/
Diffstat (limited to 'mi/mifillarc.c')
-rw-r--r--mi/mifillarc.c18
1 files changed, 5 insertions, 13 deletions
diff --git a/mi/mifillarc.c b/mi/mifillarc.c
index 46c073851..c561b1f5b 100644
--- a/mi/mifillarc.c
+++ b/mi/mifillarc.c
@@ -107,10 +107,8 @@ miFillArcSetup(arc, info)
}
}
-void
-miFillArcDSetup(arc, info)
- xArc *arc;
- miFillArcDRec *info;
+static void
+miFillArcDSetup(xArc *arc, miFillArcDRec *info)
{
/* h^2 * (2x - 2xorg)^2 = w^2 * h^2 - w^2 * (2y - 2yorg)^2 */
/* even: xorg = yorg = 0 odd: xorg = .5, yorg = -.5 */
@@ -188,15 +186,9 @@ miGetArcEdge(
}
}
-void
-miEllipseAngleToSlope (angle, width, height, dxp, dyp, d_dxp, d_dyp)
- int angle;
- int width;
- int height;
- int *dxp;
- int *dyp;
- double *d_dxp;
- double *d_dyp;
+static void
+miEllipseAngleToSlope (int angle, int width, int height, int *dxp, int *dyp,
+ double *d_dxp, double *d_dyp)
{
int dx, dy;
double d_dx, d_dy, scale;