summaryrefslogtreecommitdiff
path: root/btrfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'btrfs.c')
-rw-r--r--btrfs.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/btrfs.c b/btrfs.c
index 14b556bb..cc705153 100644
--- a/btrfs.c
+++ b/btrfs.c
@@ -37,15 +37,6 @@ static inline const char *skip_prefix(const char *str, const char *prefix)
return strncmp(str, prefix, len) ? NULL : str + len;
}
-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;
-}
-
static int parse_one_token(const char *arg, const struct cmd_group *grp,
const struct cmd_struct **cmd_ret)
{