diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-01-22 11:39:22 +0100 |
---|---|---|
committer | Youngjae Cho <y0.cho@samsung.com> | 2023-01-31 11:54:16 +0900 |
commit | e4ebe3cdf83cfc31620e893092763d36af63cca0 (patch) | |
tree | da398b1adf51201944edfd167fb35800909cf2d1 /src/locale | |
parent | cbe32a421ea3b2b678fead8fcda3dc8a5c41a96c (diff) | |
download | systemd-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/locale')
-rw-r--r-- | src/locale/keymap-util.c | 2 | ||||
-rw-r--r-- | src/locale/localed.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/locale/keymap-util.c b/src/locale/keymap-util.c index 519dd0d188..30669a9359 100644 --- a/src/locale/keymap-util.c +++ b/src/locale/keymap-util.c @@ -5,7 +5,7 @@ #include <sys/types.h> #include <unistd.h> -#include "bus-util.h" +#include "bus-polkit.h" #include "env-file-label.h" #include "env-file.h" #include "env-util.h" diff --git a/src/locale/localed.c b/src/locale/localed.c index baf0bd102b..4e4d091b0f 100644 --- a/src/locale/localed.c +++ b/src/locale/localed.c @@ -15,7 +15,7 @@ #include "alloc-util.h" #include "bus-error.h" #include "bus-message.h" -#include "bus-util.h" +#include "bus-polkit.h" #include "def.h" #include "keymap-util.h" #include "locale-util.h" |