diff options
author | Max Kellermann <max@duempel.org> | 2008-10-03 11:50:30 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-03 11:50:30 +0200 |
commit | 8b2ace4bc265abde352fcd386ce5f88b88461f4d (patch) | |
tree | 19ab87266a0f5bc0ba036e676746deab3776636e /src/support.h | |
parent | 12ad417fd296daeecff41671b9ab70a3252b4a19 (diff) | |
download | mpd-8b2ace4bc265abde352fcd386ce5f88b88461f4d.tar.gz mpd-8b2ace4bc265abde352fcd386ce5f88b88461f4d.tar.xz mpd-8b2ace4bc265abde352fcd386ce5f88b88461f4d.zip |
use g_ascii_strdown() instead of the custom lowerstr()
Don't duplicate code which is already provided by glib.
Diffstat (limited to '')
-rw-r--r-- | src/support.h | 3 |
1 files changed, 1 insertions, 2 deletions
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; |