Index: obj_rat.c =================================================================== --- obj_rat.c (revision 30911) +++ obj_rat.c (revision 30912) @@ -83,7 +83,7 @@ void pcb_rat_free(pcb_rat_t *rat) { if ((rat->parent.data != NULL) && (rat->parent.data->rat_tree != NULL)) - pcb_r_delete_entry(rat->parent.data->rat_tree, (pcb_box_t *)rat); + pcb_r_delete_entry(rat->parent.data->rat_tree, (rnd_box_t *)rat); pcb_rat_unreg(rat); free(rat->anchor[0]); free(rat->anchor[1]); @@ -213,7 +213,7 @@ static pcb_any_obj_t *find_obj_on_layer(rnd_coord_t x, rnd_coord_t y, pcb_layer_t *l) { pcb_rtree_it_t it; - pcb_box_t *n; + rnd_box_t *n; pcb_rtree_box_t sb; sb.x1 = x; sb.x2 = x+1; @@ -272,7 +272,7 @@ int i; pcb_rtree_box_t sb; pcb_rtree_it_t it; - pcb_box_t *n; + rnd_box_t *n; pcb_layergrp_t *g = pcb_get_layergrp(PCB, gid); if (g == NULL) @@ -366,7 +366,7 @@ /* moves a rat-line between board and buffer */ void *pcb_ratop_move_buffer(pcb_opctx_t *ctx, pcb_rat_t * rat) { - pcb_r_delete_entry(ctx->buffer.src->rat_tree, (pcb_box_t *) rat); + pcb_r_delete_entry(ctx->buffer.src->rat_tree, (rnd_box_t *) rat); pcb_rat_unreg(rat); pcb_rat_reg(ctx->buffer.dst, rat); @@ -375,7 +375,7 @@ if (!ctx->buffer.dst->rat_tree) ctx->buffer.dst->rat_tree = pcb_r_create_tree(); - pcb_r_insert_entry(ctx->buffer.dst->rat_tree, (pcb_box_t *) rat); + pcb_r_insert_entry(ctx->buffer.dst->rat_tree, (rnd_box_t *) rat); return rat; } @@ -441,7 +441,7 @@ } /*** draw ***/ -pcb_r_dir_t pcb_rat_draw_callback(const pcb_box_t * b, void *cl) +pcb_r_dir_t pcb_rat_draw_callback(const rnd_box_t * b, void *cl) { pcb_rat_t *rat = (pcb_rat_t *) b; pcb_draw_info_t *info = cl; @@ -480,7 +480,7 @@ if (PCB_FLAG_TEST(PCB_FLAG_VIA, Rat)) { rnd_coord_t w = Rat->Thickness; - pcb_box_t b; + rnd_box_t b; b.X1 = Rat->Point1.X - w * 2 - w / 2; b.X2 = Rat->Point1.X + w * 2 + w / 2; @@ -501,7 +501,7 @@ if (PCB_FLAG_TEST(PCB_FLAG_VIA, Rat)) { rnd_coord_t w = Rat->Thickness; - pcb_box_t b; + rnd_box_t b; b.X1 = Rat->Point1.X - w * 2 - w / 2; b.X2 = Rat->Point1.X + w * 2 + w / 2;