Index: polyhelp.c =================================================================== --- polyhelp.c (revision 17464) +++ polyhelp.c (revision 17465) @@ -363,7 +363,7 @@ static const char pcb_acts_PolyHatch[] = "PolyHatch([spacing], [hvcp])\nPolyHatch(interactive)\n"; static const char pcb_acth_PolyHatch[] = "hatch the selected polygon(s) with lines of the current style; lines are drawn on the current layer; flags are h:horizontal, v:vertical, c:contour, p:poly"; -static fgw_error_t pcb_act_PolyHatch(int oargc, const char **oargv) +static fgw_error_t pcb_act_PolyHatch(fgw_arg_t *ores, int oargc, fgw_arg_t *oargv) { PCB_OLD_ACT_BEGIN; pcb_coord_t period = 0; @@ -470,7 +470,7 @@ static const char pcb_acts_PolyOffs[] = "PolyOffs(offset)\n"; static const char pcb_acth_PolyOffs[] = "replicate the outer contour of the selected polygon(s) with growing or shrinking them by offset; the new polygon is drawn on the current layer"; -static fgw_error_t pcb_act_PolyOffs(int oargc, const char **oargv) +static fgw_error_t pcb_act_PolyOffs(fgw_arg_t *ores, int oargc, fgw_arg_t *oargv) { PCB_OLD_ACT_BEGIN; pcb_coord_t offs; Index: topoly.c =================================================================== --- topoly.c (revision 17464) +++ topoly.c (revision 17465) @@ -316,7 +316,7 @@ const char pcb_acts_topoly[] = "ToPoly()\nToPoly(outline)\n"; const char pcb_acth_topoly[] = "convert a closed loop of lines and arcs into a polygon"; -fgw_error_t pcb_act_topoly(int oargc, const char **oargv) +fgw_error_t pcb_act_topoly(fgw_arg_t *ores, int oargc, fgw_arg_t *oargv) { PCB_OLD_ACT_BEGIN; void *r1, *r2, *r3; Index: topoly.h =================================================================== --- topoly.h (revision 17464) +++ topoly.h (revision 17465) @@ -46,6 +46,6 @@ extern const char pcb_acts_topoly[]; extern const char pcb_acth_topoly[]; -fgw_error_t pcb_act_topoly(int oargc, const char **oargv); +fgw_error_t pcb_act_topoly(fgw_arg_t *ores, int oargc, fgw_arg_t *oargv); #endif