Index: trunk/src/action_helper.c =================================================================== --- trunk/src/action_helper.c (revision 17684) +++ trunk/src/action_helper.c (revision 17685) @@ -65,9 +65,6 @@ #include "tool.h" -int defer_updates = 0; -int defer_needs_update = 0; - void pcb_clear_warnings() { pcb_rtree_it_t it; Index: trunk/src/action_helper.h =================================================================== --- trunk/src/action_helper.h (revision 17684) +++ trunk/src/action_helper.h (revision 17685) @@ -37,12 +37,6 @@ #define PCB_ACTION_ARG(n) (argc > (n) ? argv[n] : NULL) - -extern int defer_updates; -extern int defer_needs_update; - - - /* does what's appropriate for the current mode setting (when clicked). This normally means creation of an object at the current crosshair location. new created objects are added to the create undo list of course */ Index: trunk/src/change.c =================================================================== --- trunk/src/change.c (revision 17684) +++ trunk/src/change.c (revision 17685) @@ -53,6 +53,8 @@ #include "obj_text_op.h" #include "obj_subc_op.h" +int defer_updates = 0; +int defer_needs_update = 0; pcb_opfunc_t ChangeSizeFunctions = { pcb_lineop_change_size, Index: trunk/src/change.h =================================================================== --- trunk/src/change.h (revision 17684) +++ trunk/src/change.h (revision 17685) @@ -37,6 +37,8 @@ #include "pcb_bool.h" #include "unit.h" +extern int defer_updates, defer_needs_update; + #define PCB_CHANGENAME_TYPES \ (PCB_OBJ_PSTK | PCB_OBJ_TEXT | PCB_OBJ_SUBC | PCB_OBJ_LINE | \ PCB_OBJ_ARC | PCB_OBJ_POLY | PCB_OBJ_SUBC_PART | PCB_OBJ_SUBC) Index: trunk/src/main_act.c =================================================================== --- trunk/src/main_act.c (revision 17684) +++ trunk/src/main_act.c (revision 17685) @@ -41,6 +41,7 @@ #include "undo.h" #include "compat_nls.h" +#include "change.h" #include "board.h" #include "data.h" #include "crosshair.h"