about summary refs log tree commit diff stats
path: root/src/command/cmd_funcs.h
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-06-30 22:37:52 +0100
committerJames Booth <boothj5@gmail.com>2016-06-30 22:37:52 +0100
commit29eb843d56c2c52e9ae13144c93f094821ecff06 (patch)
treeb723d9527204c9f5849fedc2e3f2926f0cf86902 /src/command/cmd_funcs.h
parenta01eb5d08e1b39d60a6f8fc26e5a87ceb92ec18f (diff)
downloadprofani-tty-29eb843d56c2c52e9ae13144c93f094821ecff06.tar.gz
Revert "WIP - Unload plugin commands"
This reverts commit a01eb5d08e1b39d60a6f8fc26e5a87ceb92ec18f.
Diffstat (limited to 'src/command/cmd_funcs.h')
-rw-r--r--src/command/cmd_funcs.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/command/cmd_funcs.h b/src/command/cmd_funcs.h
index c68efe43..52b9946e 100644
--- a/src/command/cmd_funcs.h
+++ b/src/command/cmd_funcs.h
@@ -39,11 +39,11 @@
 
 // Command help strings
 typedef struct cmd_help_t {
-    gchar *tags[20];
-    gchar *synopsis[50];
-    gchar *desc;
-    gchar *args[128][2];
-    gchar *examples[20];
+    const gchar *tags[20];
+    const gchar *synopsis[50];
+    const gchar *desc;
+    const gchar *args[128][2];
+    const gchar *examples[20];
 } CommandHelp;
 
 /*
@@ -69,7 +69,6 @@ typedef struct cmd_t {
     CommandHelp help;
 } Command;
 
-void command_help_free(CommandHelp *help);
 
 gboolean cmd_process_input(ProfWin *window, char *inp);
 void cmd_execute_connect(ProfWin *window, const char *const account);