aboutsummaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/utils.c b/utils.c
index 47958f7..9057df6 100644
--- a/utils.c
+++ b/utils.c
@@ -128,18 +128,6 @@ char unescapechar(const char *escaped, const char **end)
}
//
-// Case-insensitive memory comparison
-//
-int memicmp(const void *v1, const void *v2, size_t n)
-{
- int result = 0;
- const char *s1 = (const char*)v1, *s2 = (const char*)v2;
- while (n-- > 0 && (result = tolower(*(s1++)) - tolower(*(s2++))) == 0)
- ;
- return result;
-}
-
-//
// Free memory, but also set the pointer to NULL for safety
//
void delete(void *p)