Index: layer.c =================================================================== --- layer.c (revision 28609) +++ layer.c (revision 28610) @@ -786,20 +786,6 @@ return NULL; } -pcb_layer_id_t pcb_layer_str2id(pcb_data_t *data, const char *str) -{ - char *end; - pcb_layer_id_t id; - if (*str == '#') { - id = strtol(str+1, &end, 10); - if ((*end == '\0') && (id >= 0) && (id < data->LayerN)) - return id; - } -TODO("layer: do the same that cam does; test with propedit"); - return -1; -} - - void pcb_layer_link_trees(pcb_layer_t *dst, pcb_layer_t *src) { /* we can't link non-existing trees - make sure src does have the trees initialized */