Index: read.c =================================================================== --- read.c (revision 30904) +++ read.c (revision 30905) @@ -936,7 +936,7 @@ rnd_message(PCB_MSG_ERROR, "Failed to load smd pad\n"); if (name != NULL) - pcb_attribute_put(&ps->Attributes, "term", name); + rnd_attribute_put(&ps->Attributes, "term", name); return 0; } @@ -1002,7 +1002,7 @@ ps = eagle_create_pstk(st, data, x, y, sh, diax, diay, clr, drill, roundness, rot, onbottom, plated); if (name != NULL) - pcb_attribute_put(&ps->Attributes, "term", name); + rnd_attribute_put(&ps->Attributes, "term", name); switch(loc) { case IN_SUBC: break; @@ -1164,7 +1164,7 @@ pcb_subc_t *subc; subc = pcb_subc_alloc(); - pcb_attribute_put(&subc->Attributes, "refdes", "K1"); + rnd_attribute_put(&subc->Attributes, "refdes", "K1"); pcb_subc_reg(st->pcb->Data, subc); pcb_subc_bind_globals(st->pcb, subc); eagle_read_pkg(st, n, subc); @@ -1174,9 +1174,9 @@ continue; } - pcb_attribute_put(&subc->Attributes, "refdes", eagle_get_attrs(st, n, "name", NULL)); - pcb_attribute_put(&subc->Attributes, "value", eagle_get_attrs(st, n, "value", NULL)); - pcb_attribute_put(&subc->Attributes, "footprint", eagle_get_attrs(st, n, "package", NULL)); + rnd_attribute_put(&subc->Attributes, "refdes", eagle_get_attrs(st, n, "name", NULL)); + rnd_attribute_put(&subc->Attributes, "value", eagle_get_attrs(st, n, "value", NULL)); + rnd_attribute_put(&subc->Attributes, "footprint", eagle_get_attrs(st, n, "package", NULL)); pcb_subc_bbox(subc); TODO("subc: revise this: are we loading an instance here? do we need to place it? do not even bump if not!") @@ -1349,7 +1349,7 @@ static void eagle_read_subc_attrs(read_state_t *st, trnode_t *nd, pcb_subc_t *subc, rnd_coord_t x, rnd_coord_t y, const char *attname, const char *subc_attr, const char *str, rnd_bool add_text) { - pcb_attribute_put(&subc->Attributes, subc_attr, str); + rnd_attribute_put(&subc->Attributes, subc_attr, str); if (!add_text) return; Index: read_dru.c =================================================================== --- read_dru.c (revision 30904) +++ read_dru.c (revision 30905) @@ -208,7 +208,7 @@ int len = strlen(k); if (len < sizeof(tmp) - sizeof(prefix)) { memcpy(tmp + sizeof(prefix) - 1, k, len+1); - pcb_attribute_put(&pcb->Attributes, tmp, v); + rnd_attribute_put(&pcb->Attributes, tmp, v); } } }