Index: layer.h =================================================================== --- layer.h (revision 28107) +++ layer.h (revision 28108) @@ -186,8 +186,6 @@ /************ OLD API - new code should not use these **************/ -#define CURRENT (&PCB->Data->Layer[pcb_layer_stack[0]]) - #define LAYER_LOOP(data, ml) \ do { \ pcb_cardinal_t n; \