summaryrefslogtreecommitdiff
path: root/src/shared/copy.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-11-12 15:44:50 +0100
committerLennart Poettering <lennart@poettering.net>2021-11-16 17:03:28 +0100
commit35cd0ba516fb0e2ee5744b9185f7df903962c726 (patch)
treeb2bd0411918b1c38b8b5997a6e5c17c2e5f3ddd8 /src/shared/copy.c
parented304a5d73389023a542841faeb277ccca798549 (diff)
downloadsystemd-35cd0ba516fb0e2ee5744b9185f7df903962c726.tar.gz
shared: clean up mkdir.h/label.h situation
Previously the mkdir_label() family of calls was implemented in src/shared/mkdir-label.c but its functions partly declared ins src/shared/label.h and partly in src/basic/mkdir.h (!!). That's weird (and wrong). Let's clean this up, and add a proper mkdir-label.h matching the .c file.
Diffstat (limited to 'src/shared/copy.c')
-rw-r--r--src/shared/copy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/copy.c b/src/shared/copy.c
index 51dd08eccd..fd83d74265 100644
--- a/src/shared/copy.c
+++ b/src/shared/copy.c
@@ -20,6 +20,7 @@
#include "io-util.h"
#include "macro.h"
#include "missing_syscall.h"
+#include "mkdir-label.h"
#include "mountpoint-util.h"
#include "nulstr-util.h"
#include "rm-rf.h"