summaryrefslogtreecommitdiff
path: root/src/udev/mkdir.c
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-06-05 21:04:15 -0400
committerAnthony G. Basile <blueness@gentoo.org>2013-06-05 21:04:15 -0400
commitb79c75f64b0808e59dd21237361fcefca16e13cb (patch)
tree7e2ab7f005dab838f44998c4c4d97fdb0a69a6c4 /src/udev/mkdir.c
parent771f8ed258c5e260a9321ff6e8772422984c07e7 (diff)
Remove unused functions from src/udev/{label,mkdir}
We remove the following unused functions: label_socket_set label_socket_clear label_free label_get_create_label_from_exe label_retest_selinux label_bind mkdir_label mkdir_safe mkdir_safe_label mkdir_p_label Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/udev/mkdir.c')
-rw-r--r--src/udev/mkdir.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/udev/mkdir.c b/src/udev/mkdir.c
index 0e51b64f69..b9920ec207 100644
--- a/src/udev/mkdir.c
+++ b/src/udev/mkdir.c
@@ -30,10 +30,6 @@
#include "label.h"
#include "util.h"
-int mkdir_label(const char *path, mode_t mode) {
- return label_mkdir(path, mode, true);
-}
-
static int makedir_safe(const char *path, mode_t mode, uid_t uid, gid_t gid, bool apply) {
struct stat st;
@@ -55,14 +51,6 @@ static int makedir_safe(const char *path, mode_t mode, uid_t uid, gid_t gid, boo
return 0;
}
-int mkdir_safe(const char *path, mode_t mode, uid_t uid, gid_t gid) {
- return makedir_safe(path, mode, uid, gid, false);
-}
-
-int mkdir_safe_label(const char *path, mode_t mode, uid_t uid, gid_t gid) {
- return makedir_safe(path, mode, uid, gid, true);
-}
-
static int makedir_parents(const char *path, mode_t mode, bool apply) {
struct stat st;
const char *p, *e;
@@ -141,7 +129,3 @@ static int makedir_p(const char *path, mode_t mode, bool apply) {
int mkdir_p(const char *path, mode_t mode) {
return makedir_p(path, mode, false);
}
-
-int mkdir_p_label(const char *path, mode_t mode) {
- return makedir_p(path, mode, true);
-}