Index: oldactions.c =================================================================== --- oldactions.c (revision 3142) +++ oldactions.c (revision 3143) @@ -62,7 +62,7 @@ %end-doc */ -static int ActionDumpLibrary(int argc, char **argv, Coord x, Coord y) +static int ActionDumpLibrary(int argc, const char **argv, Coord x, Coord y) { #warning TODO: rewrite this code for the plug_footprint library_t /* int i, j; @@ -96,7 +96,7 @@ static const char bell_help[] = "Attempt to produce audible notification (e.g. beep the speaker)."; -static int ActionBell(int argc, char **argv, Coord x, Coord y) +static int ActionBell(int argc, const char **argv, Coord x, Coord y) { gui->beep(); return 0; @@ -127,7 +127,7 @@ %end-doc */ -static int Debug(int argc, char **argv, Coord x, Coord y) +static int Debug(int argc, const char **argv, Coord x, Coord y) { int i; printf("Debug:"); @@ -148,7 +148,7 @@ %end-doc */ -static int Return(int argc, char **argv, Coord x, Coord y) +static int Return(int argc, const char **argv, Coord x, Coord y) { return atoi(argv[0]); } @@ -172,7 +172,7 @@ -int djopt_set_auto_only(int argc, char **argv, Coord x, Coord y) +int djopt_set_auto_only(int argc, const char **argv, Coord x, Coord y) { conf_toggle(CFR_DESIGN, "plugins/djopt/auto_only"); return 0; @@ -198,7 +198,7 @@ %end-doc */ -int ActionToggleVendor(int argc, char **argv, Coord x, Coord y) +int ActionToggleVendor(int argc, const char **argv, Coord x, Coord y) { conf_toggle(CFR_DESIGN, "plugins/vendor/enable"); return 0; @@ -224,7 +224,7 @@ %end-doc */ -int ActionEnableVendor(int argc, char **argv, Coord x, Coord y) +int ActionEnableVendor(int argc, const char **argv, Coord x, Coord y) { conf_set(CFR_DESIGN, "plugins/vendor/enable", -1, "1", POL_OVERWRITE); return 0; @@ -248,7 +248,7 @@ %end-doc */ -int ActionDisableVendor(int argc, char **argv, Coord x, Coord y) +int ActionDisableVendor(int argc, const char **argv, Coord x, Coord y) { conf_set(CFR_DESIGN, "plugins/vendor/enable", -1, "0", POL_OVERWRITE); return 0;