summaryrefslogtreecommitdiff
path: root/src/timedate
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-01-22 11:39:22 +0100
committerYoungjae Cho <y0.cho@samsung.com>2023-01-31 11:54:16 +0900
commite4ebe3cdf83cfc31620e893092763d36af63cca0 (patch)
treeda398b1adf51201944edfd167fb35800909cf2d1 /src/timedate
parentcbe32a421ea3b2b678fead8fcda3dc8a5c41a96c (diff)
downloadsystemd-e4ebe3cdf83cfc31620e893092763d36af63cca0.tar.gz
systemd-e4ebe3cdf83cfc31620e893092763d36af63cca0.tar.bz2
systemd-e4ebe3cdf83cfc31620e893092763d36af63cca0.zip
shared: split out polkit stuff from bus-util.c → bus-polkit.c
It's enough, complex stuff to warrant its own source file. No other changes, just splitting out. (Resolve build error from cherry-pick) In bus-util.c, leave fd-util.h and proc-cmdline.h for code preprocessed by ENABLE_KDBUS macro. +#if ENABLE_KDBUS +#include "fd-util.h" +#include "proc-cmdline.h" +#endif Origin: upstream, https://github.com/systemd/systemd/commit/269e4d2d6b75329ae39a71ebe2c14500e03cda95 Change-Id: I9cc9f51f614bf5f8059422cc1923aa88a5812560 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Diffstat (limited to 'src/timedate')
-rw-r--r--src/timedate/timedated.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timedate/timedated.c b/src/timedate/timedated.c
index 4ec3b50359..5e2fb50d83 100644
--- a/src/timedate/timedated.c
+++ b/src/timedate/timedated.c
@@ -12,7 +12,7 @@
#include "alloc-util.h"
#include "bus-common-errors.h"
#include "bus-error.h"
-#include "bus-util.h"
+#include "bus-polkit.h"
#include "clock-util.h"
#include "conf-files.h"
#include "def.h"