summaryrefslogtreecommitdiff
path: root/src/shared/mkdir.h
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2014-10-11 18:43:12 +0200
committerLennart Poettering <lennart@poettering.net>2014-10-21 00:40:44 +0200
commite2e07fec7b3002a19da48845a0985c7e8dc6cc84 (patch)
tree9dafcf61137358b95d11a4f439e064af9f27c9df /src/shared/mkdir.h
parente4746b57387ffaf8be01c177ed4bbf02c8088341 (diff)
shared: remove unused functions
- mkdir_p_prefix: It has never been used - mkdir_parents_prefix_label: Unused since 1434ae6fd49f8377b0ddbd4c675736e0d3226ea6
Diffstat (limited to 'src/shared/mkdir.h')
-rw-r--r--src/shared/mkdir.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/shared/mkdir.h b/src/shared/mkdir.h
index dd5b41ec6f..ca38d211bd 100644
--- a/src/shared/mkdir.h
+++ b/src/shared/mkdir.h
@@ -28,14 +28,12 @@
int mkdir_safe(const char *path, mode_t mode, uid_t uid, gid_t gid);
int mkdir_parents(const char *path, mode_t mode);
int mkdir_p(const char *path, mode_t mode);
-int mkdir_p_prefix(const char *prefix, const char *path, mode_t mode);
/* selinux versions */
int mkdir_label(const char *path, mode_t mode);
int mkdir_safe_label(const char *path, mode_t mode, uid_t uid, gid_t gid);
int mkdir_parents_label(const char *path, mode_t mode);
int mkdir_p_label(const char *path, mode_t mode);
-int mkdir_parents_prefix_label(const char *prefix, const char *path, mode_t mode);
/* internally used */
typedef int (*mkdir_func_t)(const char *pathname, mode_t mode);