diff --git a/pid/pid.c b/pid/pid.c index 8555c7a..4ba02d0 100644 --- a/pid/pid.c +++ b/pid/pid.c @@ -30,10 +30,10 @@ cmd_pid(char **args) void prof_init(const char * const version, const char * const status, const char *const account_name, const char *const fulljid) { - const char *synopsis[] = { "/pid", NULL }; - const char *description = "Show process ID and parent Process ID in the console window."; - const char *args[][2] = { { NULL, NULL } }; - const char *examples[] = { NULL }; + char *synopsis[] = { "/pid", NULL }; + char *description = "Show process ID and parent Process ID in the console window."; + char *args[][2] = { { NULL, NULL } }; + char *examples[] = { NULL }; prof_register_command("/pid", 0, 0, synopsis, description, args, examples, cmd_pid); } diff --git a/tests/test-c-plugin/test-c-plugin.c b/tests/test-c-plugin/test-c-plugin.c index 6641502..4cdaa03 100644 --- a/tests/test-c-plugin/test-c-plugin.c +++ b/tests/test-c-plugin/test-c-plugin.c @@ -498,7 +498,7 @@ prof_init(const char * const version, const char * const status, const char *con } prof_win_show(plugin_win, buf); - const char *synopsis[] = { + char *synopsis[] = { "/c-test consalert", "/c-test consshow ", "/c-test consshow_t ", @@ -521,8 +521,8 @@ prof_init(const char * const version, const char * const status, const char *con "/c-test completer add|remove ", NULL }; - const char *description = "C test plugin. All commands focus the plugin window."; - const char *args[][2] = { + char *description = "C test plugin. All commands focus the plugin window."; + char *args[][2] = { { "consalert", "Highlight the console window in the status bar" }, { "consshow ", "Show the message in the console window" }, { "consshow_t ", "Show the themed message in the console window. " }, @@ -550,7 +550,7 @@ prof_init(const char * const version, const char * const status, const char *con { NULL, NULL } }; - const char *examples[] = { + char *examples[] = { "/c-test sendline /about", "/c-test log debug \"Test debug message\"", "/c-test consshow_t c-test cons.show none \"This is themed\"",