summaryrefslogtreecommitdiff
path: root/src/shared/path-util.h
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2015-05-27 09:38:31 -0400
committerAnthony G. Basile <blueness@gentoo.org>2015-05-27 09:38:31 -0400
commit1713bd21e6a8005734d0086a1b9eab2812939ba5 (patch)
tree3d4cae75e56fbfdf95f81d56d480323bb83a0551 /src/shared/path-util.h
parent8943501993322c59a6eb5be456b0d716aafff21e (diff)
src/shared/path-util.c: import prefix_root() from upstream
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/shared/path-util.h')
-rw-r--r--src/shared/path-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/path-util.h b/src/shared/path-util.h
index 56d1c52ae2..0123c2609c 100644
--- a/src/shared/path-util.h
+++ b/src/shared/path-util.h
@@ -38,3 +38,4 @@ int fd_is_mount_point(int fd);
int path_is_mount_point(const char *path, bool allow_symlink);
bool paths_check_timestamp(const char* const* paths, usec_t *paths_ts_usec, bool update);
+char *prefix_root(const char *root, const char *path);