diff --git a/src/support.c b/src/support.c
index ca0266c1be28da9816a65ae6bf2a12c8badb429b..3ceac5a3a0d294450663497148fb6537ac584bfa 100644 (file)
--- a/src/support.c
+++ b/src/support.c
return path;
}
-#ifndef HAVE_BASENAME
-char *
-basename(char *path)
-{
- char *end;
-
- assert(path != NULL);
-
- path = remove_trailing_slash(path);
- end = path + strlen(path);
-
- while (end > path && *end != '/')
- end--;
-
- if (*end == '/' && end != path)
- return end+1;
-
- return path;
-}
-#endif /* HAVE_BASENAME */
-
-
#ifndef HAVE_STRCASESTR
const char *
strcasestr(const char *haystack, const char *needle)