Remove const qualifiers
This commit is contained in:
@@ -30,10 +30,10 @@ cmd_pid(char **args)
|
|||||||
void
|
void
|
||||||
prof_init(const char * const version, const char * const status, const char *const account_name, const char *const fulljid)
|
prof_init(const char * const version, const char * const status, const char *const account_name, const char *const fulljid)
|
||||||
{
|
{
|
||||||
const char *synopsis[] = { "/pid", NULL };
|
char *synopsis[] = { "/pid", NULL };
|
||||||
const char *description = "Show process ID and parent Process ID in the console window.";
|
char *description = "Show process ID and parent Process ID in the console window.";
|
||||||
const char *args[][2] = { { NULL, NULL } };
|
char *args[][2] = { { NULL, NULL } };
|
||||||
const char *examples[] = { NULL };
|
char *examples[] = { NULL };
|
||||||
|
|
||||||
prof_register_command("/pid", 0, 0, synopsis, description, args, examples, cmd_pid);
|
prof_register_command("/pid", 0, 0, synopsis, description, args, examples, cmd_pid);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -498,7 +498,7 @@ prof_init(const char * const version, const char * const status, const char *con
|
|||||||
}
|
}
|
||||||
prof_win_show(plugin_win, buf);
|
prof_win_show(plugin_win, buf);
|
||||||
|
|
||||||
const char *synopsis[] = {
|
char *synopsis[] = {
|
||||||
"/c-test consalert",
|
"/c-test consalert",
|
||||||
"/c-test consshow <message>",
|
"/c-test consshow <message>",
|
||||||
"/c-test consshow_t <group> <key> <default> <message>",
|
"/c-test consshow_t <group> <key> <default> <message>",
|
||||||
@@ -521,8 +521,8 @@ prof_init(const char * const version, const char * const status, const char *con
|
|||||||
"/c-test completer add|remove <item>",
|
"/c-test completer add|remove <item>",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
const char *description = "C test plugin. All commands focus the plugin window.";
|
char *description = "C test plugin. All commands focus the plugin window.";
|
||||||
const char *args[][2] = {
|
char *args[][2] = {
|
||||||
{ "consalert", "Highlight the console window in the status bar" },
|
{ "consalert", "Highlight the console window in the status bar" },
|
||||||
{ "consshow <message>", "Show the message in the console window" },
|
{ "consshow <message>", "Show the message in the console window" },
|
||||||
{ "consshow_t <group> <key> <default> <message>", "Show the themed message in the console window. " },
|
{ "consshow_t <group> <key> <default> <message>", "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 }
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
const char *examples[] = {
|
char *examples[] = {
|
||||||
"/c-test sendline /about",
|
"/c-test sendline /about",
|
||||||
"/c-test log debug \"Test debug message\"",
|
"/c-test log debug \"Test debug message\"",
|
||||||
"/c-test consshow_t c-test cons.show none \"This is themed\"",
|
"/c-test consshow_t c-test cons.show none \"This is themed\"",
|
||||||
|
|||||||
Reference in New Issue
Block a user