Index: layer.h =================================================================== --- layer.h (revision 19138) +++ layer.h (revision 19139) @@ -230,6 +230,7 @@ /* Return the purpi of the group of a layer; if out is not NULL, also copy a pointer to the purpose string there (valid until a layer change) */ int pcb_layer_purpose(pcb_board_t *pcb, pcb_layer_id_t layer_idx, const char **out); +int pcb_layer_purpose_(pcb_layer_t *layer, const char **out); /* map bits of a layer type (call cb for each bit set); return number of bits