Index: layer_grp.h =================================================================== --- layer_grp.h (revision 7739) +++ layer_grp.h (revision 7740) @@ -76,8 +76,8 @@ /* Same as pcb_layer_list but lists layer groups. A group is matching if any layer in that group matches mask. */ -int pcb_layer_group_list(pcb_layer_type_t mask, pcb_layergrp_id_t *res, int res_len); -int pcb_layer_group_list_any(pcb_layer_type_t mask, pcb_layergrp_id_t *res, int res_len); +int pcb_layer_group_list(pcb_board_t *pcb, pcb_layer_type_t mask, pcb_layergrp_id_t *res, int res_len); +int pcb_layer_group_list_any(pcb_board_t *pcb, pcb_layer_type_t mask, pcb_layergrp_id_t *res, int res_len); /* Put a layer in a group (the layer should not be in any other group); returns 0 on success */