summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-26 23:20:41 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 13:25:56 +0100
commitaffb60b1ef0cb48388d23360c6f3b043c50f6b8c (patch)
treea2fd6419b97665e6b4705fa6192a55bea54b67e9 /src/shared
parent8752c5752f3b9023f9ce96a55d70c6e5fc31118f (diff)
util-lib: split out umask-related code to umask-util.h
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/ask-password-api.c1
-rw-r--r--src/shared/base-filesystem.c5
2 files changed, 4 insertions, 2 deletions
diff --git a/src/shared/ask-password-api.c b/src/shared/ask-password-api.c
index 9e8025d615..b2dbf98b8e 100644
--- a/src/shared/ask-password-api.c
+++ b/src/shared/ask-password-api.c
@@ -45,6 +45,7 @@
#include "string-util.h"
#include "strv.h"
#include "terminal-util.h"
+#include "umask-util.h"
#include "util.h"
#define KEYRING_TIMEOUT_USEC ((5 * USEC_PER_MINUTE) / 2)
diff --git a/src/shared/base-filesystem.c b/src/shared/base-filesystem.c
index 751dfdec45..9ccf26526f 100644
--- a/src/shared/base-filesystem.c
+++ b/src/shared/base-filesystem.c
@@ -24,12 +24,13 @@
#include <sys/stat.h>
#include <unistd.h>
+#include "base-filesystem.h"
+#include "fd-util.h"
#include "log.h"
#include "macro.h"
#include "string-util.h"
+#include "umask-util.h"
#include "util.h"
-#include "base-filesystem.h"
-#include "fd-util.h"
typedef struct BaseFilesystem {
const char *dir;