summaryrefslogtreecommitdiff
path: root/help.h
diff options
context:
space:
mode:
Diffstat (limited to 'help.h')
-rw-r--r--help.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/help.h b/help.h
index d614e5491b..3f1ae89dd6 100644
--- a/help.h
+++ b/help.h
@@ -10,6 +10,12 @@ struct cmdnames {
} **names;
};
+static inline void mput_char(char c, unsigned int num)
+{
+ while(num--)
+ putchar(c);
+}
+
unsigned int load_command_list(const char *prefix,
struct cmdnames *main_cmds,
struct cmdnames *other_cmds);