Index: polystitch.c =================================================================== --- polystitch.c (revision 4768) +++ polystitch.c (revision 4769) @@ -39,7 +39,7 @@ #include "obj_poly.h" #include "obj_poly_draw.h" -static PolygonType *inner_poly, *outer_poly; +static pcb_polygon_t *inner_poly, *outer_poly; static pcb_layer_t *poly_layer; static double ATAN2(pcb_point_t a, pcb_point_t b) @@ -49,7 +49,7 @@ return atan2((double) b.Y - a.Y, (double) b.X - a.X); } -static double poly_winding(PolygonType * poly) +static double poly_winding(pcb_polygon_t * poly) { double winding, turn; double prev_angle, this_angle; @@ -151,7 +151,7 @@ * \brief Rotate the polygon point list around so that point N is the * first one in the list. */ -static void rotate_points(PolygonType * poly, int n) +static void rotate_points(pcb_polygon_t * poly, int n) { pcb_point_t *np; int n2 = poly->PointN - n; @@ -167,7 +167,7 @@ * \brief Make sure the first and last point of the polygon are the same * point, so we can stitch them properly. */ -static void dup_endpoints(PolygonType * poly) +static void dup_endpoints(pcb_polygon_t * poly) { int n = poly->PointN; if (poly->Points[0].X == poly->Points[n - 1].X && poly->Points[0].Y == poly->Points[n - 1].Y)