diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2015-06-18 14:11:59 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-06-18 14:11:59 -0400 |
commit | 5e11fe2da443badbc5e5f5e2fb2434e0875b4e7c (patch) | |
tree | d5b47a19525f54917202e253658aff5806ed62c9 /src/shared/mkdir.h | |
parent | 52a4d0c0d509e89571fdd7233b9b259c5fcafe52 (diff) |
Rename mkdir_p -> udev_mkdir_p to avoid symbol collisions.
While usptream doesn't support a static libudev.a, we will try to
do so. However, mkdir_p() is used in lvm2 and util-linux, so
to avoid the collision, we rename it to udev_mkdir_p(). See:
https://bugs.gentoo.org/show_bug.cgi?id=520450
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/shared/mkdir.h')
-rw-r--r-- | src/shared/mkdir.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/mkdir.h b/src/shared/mkdir.h index 7d37c89230..bb1d01bb5e 100644 --- a/src/shared/mkdir.h +++ b/src/shared/mkdir.h @@ -21,7 +21,7 @@ #include <sys/types.h> int mkdir_parents(const char *path, mode_t mode); -int mkdir_p(const char *path, mode_t mode); +int udev_mkdir_p(const char *path, mode_t mode); /* mandatory access control(MAC) versions */ int mkdir_parents_label(const char *path, mode_t mode); |