From 8b2ace4bc265abde352fcd386ce5f88b88461f4d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 3 Oct 2008 11:50:30 +0200 Subject: use g_ascii_strdown() instead of the custom lowerstr() Don't duplicate code which is already provided by glib. --- src/support.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/support.h') diff --git a/src/support.h b/src/support.h index 0679ddc86..5d67b8fa7 100644 --- a/src/support.h +++ b/src/support.h @@ -14,8 +14,7 @@ char *basename(char *path); #define IS_WHITESPACE(c) (c==' ' || c=='\t' || c=='\r' || c=='\n') char *remove_trailing_slash(char *path); -char *lowerstr(char *str); -char *strcasestr(const char *haystack, const char *needle); +const char *strcasestr(const char *haystack, const char *needle); typedef struct { gsize offset; -- cgit v1.2.3