Index: trunk/src/board.h =================================================================== --- trunk/src/board.h (revision 22627) +++ trunk/src/board.h (revision 22628) @@ -179,4 +179,8 @@ const char *pcb_board_get_filename(void); const char *pcb_board_get_name(void); +/* Update the bounding box of the subc being edited as board; if the + board is not a subc, this call is a NOP; implemented in obj_subc.c */ +void pcb_subc_as_board_update(pcb_board_t *pcb); + #endif Index: trunk/src/obj_subc.h =================================================================== --- trunk/src/obj_subc.h (revision 22627) +++ trunk/src/obj_subc.h (revision 22628) @@ -135,10 +135,6 @@ the subc (if alloc is true) or return the brd_layer. */ pcb_layer_t *pcb_loose_subc_layer(pcb_board_t *pcb, pcb_layer_t *brd_layer, pcb_bool alloc); -/* Update the bounding box of the subc being edited as board; if the - board is not a subc, this call is a NOP */ -void pcb_subc_as_board_update(pcb_board_t *pcb); - /* Returns whether there's no object in the subc */ pcb_bool pcb_subc_is_empty(pcb_subc_t *subc);