Index: trunk/src/crosshair.h =================================================================== --- trunk/src/crosshair.h (revision 4795) +++ trunk/src/crosshair.h (revision 4796) @@ -74,7 +74,7 @@ Coord X, Y, /* position in PCB coordinates */ MinX, MinY, /* lowest and highest coordinates */ MaxX, MaxY; - AttachedLineType AttachedLine; /* data of new lines... */ + pcb_attached_line_t AttachedLine; /* data of new lines... */ pcb_attached_box_t AttachedBox; pcb_polygon_t AttachedPolygon; pcb_attached_object_t AttachedObject; /* data of attached objects */ Index: trunk/src/insert.c =================================================================== --- trunk/src/insert.c (revision 4795) +++ trunk/src/insert.c (revision 4796) @@ -94,7 +94,7 @@ return NULL; Crosshair.AttachedObject.Ptr3 = &InsertedPoint; if (gui->shift_is_pressed()) { - AttachedLineType myline; + pcb_attached_line_t myline; /* only force 45 degree for nearest point */ if (Distance(Crosshair.X, Crosshair.Y, line->Point1.X, line->Point1.Y) < Distance(Crosshair.X, Crosshair.Y, line->Point2.X, line->Point2.Y)) Index: trunk/src/obj_line.h =================================================================== --- trunk/src/obj_line.h (revision 4795) +++ trunk/src/obj_line.h (revision 4796) @@ -43,7 +43,7 @@ Point2; long int State; pcb_bool draw; -} AttachedLineType, *AttachedLineTypePtr; +} pcb_attached_line_t; pcb_line_t *GetLineMemory(pcb_layer_t * layer); @@ -62,7 +62,7 @@ /*** DRC enforcement (obj_line_drcenf.c) ***/ void AdjustAttachedLine(void); void AdjustTwoLine(pcb_bool); -void FortyFiveLine(AttachedLineType *); +void FortyFiveLine(pcb_attached_line_t *); void EnforceLineDRC(void); /* Rather than mode the line bounding box, we set it so the point bounding Index: trunk/src/obj_line_drcenf.c =================================================================== --- trunk/src/obj_line_drcenf.c (revision 4795) +++ trunk/src/obj_line_drcenf.c (revision 4796) @@ -44,7 +44,7 @@ */ void AdjustAttachedLine(void) { - AttachedLineType *line = &Crosshair.AttachedLine; + pcb_attached_line_t *line = &Crosshair.AttachedLine; /* I need at least one point */ if (line->State == STATE_FIRST) @@ -76,7 +76,7 @@ * 5 3 * 4 */ -void FortyFiveLine(AttachedLineType *Line) +void FortyFiveLine(pcb_attached_line_t *Line) { Coord dx, dy, min; unsigned direction = 0; @@ -150,7 +150,7 @@ void AdjustTwoLine(pcb_bool way) { Coord dx, dy; - AttachedLineType *line = &Crosshair.AttachedLine; + pcb_attached_line_t *line = &Crosshair.AttachedLine; if (Crosshair.AttachedLine.State == STATE_FIRST) return; @@ -414,7 +414,7 @@ struct drc_info info; pcb_cardinal_t group, comp; pcb_line_t line; - AttachedLineType aline; + pcb_attached_line_t aline; static pcb_point_t last_good; /* internal state of last good endpoint - we cna do thsi cheat, because... */ /* ... we hardwire the assumption on how a line is drawn: it starts out as a 0 long segment, which is valid: */