summaryrefslogtreecommitdiffstats
path: root/subopt-helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'subopt-helper.c')
-rw-r--r--subopt-helper.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/subopt-helper.c b/subopt-helper.c
index bc7a14ba47..901a2de09e 100644
--- a/subopt-helper.c
+++ b/subopt-helper.c
@@ -336,11 +336,3 @@ int strargcmp(strarg_t *arg, const char *str) {
res = arg->len - strlen(str);
return res;
}
-
-/** \brief compare the stings just as strcasecmp does */
-int strargcasecmp(strarg_t *arg, char *str) {
- int res = strncasecmp(arg->str, str, arg->len);
- if (!res && arg->len != strlen(str))
- res = arg->len - strlen(str);
- return res;
-}