Index: trunk/src/rats_patch.h =================================================================== --- trunk/src/rats_patch.h (revision 38245) +++ trunk/src/rats_patch.h (revision 38246) @@ -96,7 +96,11 @@ /* Back annotate removal of all connections of a subc */ void rats_patch_break_subc_conns(pcb_board_t *pcb, pcb_subc_t *subc, int undoable); +/* Returns non-zero if subc is on the input netlist or on the net list patch + (scheduled for back annotation for creating the subc) */ +int rats_patch_is_subc_referenced(pcb_board_t *pcb, const char *refdes); + /**** exporter ****/ typedef enum pcb_ratspatch_fmt_e {