From 2b6bf07dd23bb467099d213c97b3875c5e453491 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 6 Dec 2013 21:29:55 -0500 Subject: Get rid of our reimplementation of basename The only problem is that libgen.h #defines basename to point to it's own broken implementation instead of the GNU one. This can be fixed by #undefining basename. --- src/shared/path-util.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/shared/path-util.h') diff --git a/src/shared/path-util.h b/src/shared/path-util.h index 42b4189d7..1098f6540 100644 --- a/src/shared/path-util.h +++ b/src/shared/path-util.h @@ -34,7 +34,6 @@ bool is_path(const char *p) _pure_; char** path_split_and_make_absolute(const char *p); -char* path_get_file_name(const char *p) _pure_; int path_get_parent(const char *path, char **parent); bool path_is_absolute(const char *p) _pure_; char* path_make_absolute(const char *p, const char *prefix); -- cgit v1.2.3