summaryrefslogtreecommitdiff
path: root/help.c
diff options
context:
space:
mode:
Diffstat (limited to 'help.c')
-rw-r--r--help.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/help.c b/help.c
index b5718049..19b0d357 100644
--- a/help.c
+++ b/help.c
@@ -359,12 +359,3 @@ void help_command_group(const struct cmd_group *grp, int argc, char **argv)
usage_command_group(grp, full, 0);
}
-int prefixcmp(const char *str, const char *prefix)
-{
- for (; ; str++, prefix++)
- if (!*prefix)
- return 0;
- else if (*str != *prefix)
- return (unsigned char)*prefix - (unsigned char)*str;
-}
-