summaryrefslogtreecommitdiff
path: root/src/libudev/path-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libudev/path-util.c')
-rw-r--r--src/libudev/path-util.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/libudev/path-util.c b/src/libudev/path-util.c
index d7f21b3322..d87e60ac8b 100644
--- a/src/libudev/path-util.c
+++ b/src/libudev/path-util.c
@@ -41,10 +41,6 @@ bool path_is_absolute(const char *p) {
return p[0] == '/';
}
-bool is_path(const char *p) {
- return !!strchr(p, '/');
-}
-
char *path_get_file_name(const char *p) {
char *r;
@@ -98,21 +94,6 @@ int path_get_parent(const char *path, char **_r) {
return 0;
}
-char **path_split_and_make_absolute(const char *p) {
- char **l;
- assert(p);
-
- if (!(l = strv_split(p, ":")))
- return NULL;
-
- if (!path_strv_make_absolute_cwd(l)) {
- strv_free(l);
- return NULL;
- }
-
- return l;
-}
-
char *path_make_absolute(const char *p, const char *prefix) {
assert(p);