Index: polygon_act.c =================================================================== --- polygon_act.c (revision 17328) +++ polygon_act.c (revision 17329) @@ -66,7 +66,7 @@ %end-doc */ -static int pcb_act_MorphPolygon(int argc, const char **argv, pcb_coord_t x, pcb_coord_t y) +static int pcb_act_MorphPolygon(int argc, const char **argv) { const char *function = PCB_ACTION_ARG(0); if (function) { @@ -73,6 +73,7 @@ switch (pcb_funchash_get(function, NULL)) { case F_Object: { + pcb_coord_t x, y; int type; void *ptr1, *ptr2, *ptr3; @@ -128,7 +129,7 @@ %end-doc */ -static int pcb_act_Polygon(int argc, const char **argv, pcb_coord_t x, pcb_coord_t y) +static int pcb_act_Polygon(int argc, const char **argv) { const char *function = PCB_ACTION_ARG(0); if (function && ((conf_core.editor.mode == PCB_MODE_POLYGON) || (conf_core.editor.mode == PCB_MODE_POLYGON_HOLE))) {