diff options
author | Max Kellermann <max@duempel.org> | 2008-10-03 11:51:32 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-03 11:51:32 +0200 |
commit | 44ecb3b869a8106475b984b4a0d212f9b3b3a219 (patch) | |
tree | 5c9cd8001f54341a22ddeecfc2781fa979ce63f2 /src/support.h | |
parent | ccc7cf81e560025520777118a00a4c041bd7a149 (diff) | |
download | mpd-44ecb3b869a8106475b984b4a0d212f9b3b3a219.tar.gz mpd-44ecb3b869a8106475b984b4a0d212f9b3b3a219.tar.xz mpd-44ecb3b869a8106475b984b4a0d212f9b3b3a219.zip |
use g_basename() instead of basename()
g_basename() is always available, no need to implement a fallback.
Also use g_path_get_dirname(), g_path_get_basename().
Diffstat (limited to 'src/support.h')
-rw-r--r-- | src/support.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/support.h b/src/support.h index 68f746dd3..305ecbcf1 100644 --- a/src/support.h +++ b/src/support.h @@ -7,10 +7,6 @@ #include <libgen.h> #endif -#ifndef HAVE_BASENAME -char *basename(char *path); -#endif - char *remove_trailing_slash(char *path); const char *strcasestr(const char *haystack, const char *needle); |