Index: shape.c =================================================================== --- shape.c (revision 17464) +++ shape.c (revision 17465) @@ -315,7 +315,7 @@ static const char pcb_acts_regpoly[] = "regpoly([where,] corners, radius [,rotation])"; static const char pcb_acth_regpoly[] = "Generate regular polygon. Where is x;y and radius is either r or rx;ry. Rotation is in degrees."; -fgw_error_t pcb_act_regpoly(int oargc, const char **oargv) +fgw_error_t pcb_act_regpoly(fgw_arg_t *ores, int oargc, fgw_arg_t *oargv) { PCB_OLD_ACT_BEGIN; double rot = 0; @@ -374,7 +374,7 @@ static const char pcb_acts_roundrect[] = "roundrect([where,] width[;height] [,rx[;ry] [,rotation]])"; static const char pcb_acth_roundrect[] = "Generate a rectangle with round corners"; -fgw_error_t pcb_act_roundrect(int oargc, const char **oargv) +fgw_error_t pcb_act_roundrect(fgw_arg_t *ores, int oargc, fgw_arg_t *oargv) { PCB_OLD_ACT_BEGIN; int a; @@ -437,7 +437,7 @@ static const char pcb_acts_circle[] = "circle([where,] diameter)"; static const char pcb_acth_circle[] = "Generate a filled circle (zero length round cap line)"; -fgw_error_t pcb_act_circle(int oargc, const char **oargv) +fgw_error_t pcb_act_circle(fgw_arg_t *ores, int oargc, fgw_arg_t *oargv) { PCB_OLD_ACT_BEGIN; int a; Index: shape_dialog.c =================================================================== --- shape_dialog.c (revision 17464) +++ shape_dialog.c (revision 17465) @@ -354,7 +354,7 @@ static const char pcb_acts_shape[] = "shape()"; static const char pcb_acth_shape[] = "Interactive shape generator."; -fgw_error_t pcb_act_shape(int oargc, const char **oargv) +fgw_error_t pcb_act_shape(fgw_arg_t *ores, int oargc, fgw_arg_t *oargv) { PCB_OLD_ACT_BEGIN; pcb_shape_dialog(PCB, PCB_PASTEBUFFER->Data, pcb_shape_current_layer, pcb_false);