Index: remove.h =================================================================== --- remove.h (revision 31641) +++ remove.h (revision 31642) @@ -32,6 +32,7 @@ #define PCB_REMOVE_H #include "config.h" +#include "operation.h" #define PCB_REMOVE_TYPES \ (PCB_OBJ_PSTK | PCB_OBJ_LINE_POINT | PCB_OBJ_LINE | PCB_OBJ_TEXT | PCB_OBJ_SUBC | \ @@ -38,7 +39,7 @@ PCB_OBJ_POLY_POINT | PCB_OBJ_POLY | PCB_OBJ_RAT | PCB_OBJ_ARC | PCB_OBJ_GFX \ | PCB_OBJ_ARC_POINT) -rnd_bool pcb_remove_selected(rnd_bool locked_too); +rnd_bool pcb_remove_selected(pcb_op_mode_t mode); /* Undoable delete (operation wrapper) */ void *pcb_remove_object(int Type, void *Ptr1, void *Ptr2, void *Ptr3);