summaryrefslogtreecommitdiff
path: root/help.h
diff options
context:
space:
mode:
Diffstat (limited to 'help.h')
-rw-r--r--help.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/help.h b/help.h
index af073a7a02..67207b3073 100644
--- a/help.h
+++ b/help.h
@@ -13,6 +13,8 @@ struct cmdnames {
} **names;
};
+void cmdnames_release(struct cmdnames *cmds);
+
static inline void mput_char(char c, unsigned int num)
{
while (num--)
@@ -30,7 +32,7 @@ void list_all_other_cmds(struct string_list *list);
void list_cmds_by_category(struct string_list *list,
const char *category);
void list_cmds_by_config(struct string_list *list);
-const char *help_unknown_cmd(const char *cmd);
+char *help_unknown_cmd(const char *cmd);
void load_command_list(const char *prefix,
struct cmdnames *main_cmds,
struct cmdnames *other_cmds);