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.
This commit is contained in:
Lennart Poettering
2021-11-16 17:03:28 +01:00
parent ed304a5d73
commit 35cd0ba516
58 changed files with 80 additions and 77 deletions
+1
View File
@@ -8,6 +8,7 @@
#include "dev-setup.h"
#include "label.h"
#include "log.h"
#include "mkdir-label.h"
#include "nulstr-util.h"
#include "path-util.h"
#include "umask-util.h"