Index: djopt.c =================================================================== --- djopt.c (revision 5102) +++ djopt.c (revision 5103) @@ -2491,10 +2491,10 @@ } } -static const char djopt_syntax[] = +static const char pcb_acts_DJopt[] = "djopt(debumpify|unjaggy|simple|vianudge|viatrim|orthopull)\n" "djopt(auto) - all of the above\n" "djopt(miter)"; -static const char djopt_help[] = "Perform various optimizations on the current board."; +static const char pcb_acth_DJopt[] = "Perform various optimizations on the current board."; /* %start-doc actions djopt @@ -2546,7 +2546,7 @@ %end-doc */ -static int ActionDJopt(int argc, const char **argv, pcb_coord_t x, pcb_coord_t y) +static int pcb_act_DJopt(int argc, const char **argv, pcb_coord_t x, pcb_coord_t y) { const char *arg = argc > 0 ? argv[0] : NULL; int layn, saved = 0; @@ -2678,8 +2678,8 @@ } pcb_hid_action_t djopt_action_list[] = { - {"djopt", 0, ActionDJopt, - djopt_help, djopt_syntax} + {"djopt", 0, pcb_act_DJopt, + pcb_acth_DJopt, pcb_acts_DJopt} }; PCB_REGISTER_ACTIONS(djopt_action_list, djopt_cookie) Index: djopt.h =================================================================== --- djopt.h (revision 5102) +++ djopt.h (revision 5103) @@ -29,6 +29,6 @@ #include "config.h" -int ActionDJopt(int, char **, pcb_coord_t, pcb_coord_t); +int pcb_act_DJopt(int, char **, pcb_coord_t, pcb_coord_t); int djopt_set_auto_only(int, char **, pcb_coord_t, pcb_coord_t); #endif