Index: layer.h =================================================================== --- layer.h (revision 28093) +++ layer.h (revision 28094) @@ -187,7 +187,6 @@ /************ OLD API - new code should not use these **************/ #define CURRENT (&PCB->Data->Layer[pcb_layer_stack[0]]) -#define INDEXOFCURRENT (pcb_layer_stack[0]) #define LAYER_LOOP(data, ml) \ do { \