diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-01-22 11:39:22 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-01-22 12:34:10 +0100 |
commit | 269e4d2d6b75329ae39a71ebe2c14500e03cda95 (patch) | |
tree | 860e8b524831cc44c3d2e283fbaba3fa5eb4fae4 /src/login | |
parent | 1287740560164a18b0fd7f92df43640a3d2cb0d0 (diff) | |
download | systemd-269e4d2d6b75329ae39a71ebe2c14500e03cda95.tar.gz |
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.
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/logind-dbus.c | 3 | ||||
-rw-r--r-- | src/login/logind-seat-dbus.c | 1 | ||||
-rw-r--r-- | src/login/logind-session-dbus.c | 1 | ||||
-rw-r--r-- | src/login/logind-user-dbus.c | 1 | ||||
-rw-r--r-- | src/login/logind.c | 2 |
5 files changed, 6 insertions, 2 deletions
diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c index d3aa6815a6..8017aa5c3c 100644 --- a/src/login/logind-dbus.c +++ b/src/login/logind-dbus.c @@ -12,13 +12,14 @@ #include "bootspec.h" #include "bus-common-errors.h" #include "bus-error.h" +#include "bus-polkit.h" #include "bus-unit-util.h" #include "bus-util.h" #include "cgroup-util.h" #include "device-util.h" #include "dirent-util.h" -#include "efivars.h" #include "efi-loader.h" +#include "efivars.h" #include "env-util.h" #include "escape.h" #include "fd-util.h" diff --git a/src/login/logind-seat-dbus.c b/src/login/logind-seat-dbus.c index 34ac0350f2..5b41e60fd6 100644 --- a/src/login/logind-seat-dbus.c +++ b/src/login/logind-seat-dbus.c @@ -5,6 +5,7 @@ #include "alloc-util.h" #include "bus-common-errors.h" #include "bus-label.h" +#include "bus-polkit.h" #include "bus-util.h" #include "logind-dbus.h" #include "logind-seat-dbus.h" diff --git a/src/login/logind-session-dbus.c b/src/login/logind-session-dbus.c index 80f3e432de..3738514282 100644 --- a/src/login/logind-session-dbus.c +++ b/src/login/logind-session-dbus.c @@ -5,6 +5,7 @@ #include "alloc-util.h" #include "bus-common-errors.h" #include "bus-label.h" +#include "bus-polkit.h" #include "bus-util.h" #include "fd-util.h" #include "logind-brightness.h" diff --git a/src/login/logind-user-dbus.c b/src/login/logind-user-dbus.c index 7943a007e1..9bf68a610e 100644 --- a/src/login/logind-user-dbus.c +++ b/src/login/logind-user-dbus.c @@ -3,6 +3,7 @@ #include <errno.h> #include "alloc-util.h" +#include "bus-polkit.h" #include "bus-util.h" #include "format-util.h" #include "logind-dbus.h" diff --git a/src/login/logind.c b/src/login/logind.c index d8c1bbe15b..8f3708d2a4 100644 --- a/src/login/logind.c +++ b/src/login/logind.c @@ -9,7 +9,7 @@ #include "alloc-util.h" #include "bus-error.h" -#include "bus-util.h" +#include "bus-polkit.h" #include "cgroup-util.h" #include "def.h" #include "device-util.h" |