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/resolve | |
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/resolve')
-rw-r--r-- | src/resolve/resolved-bus.c | 1 | ||||
-rw-r--r-- | src/resolve/resolved-dnssd-bus.c | 5 | ||||
-rw-r--r-- | src/resolve/resolved-link-bus.c | 1 | ||||
-rw-r--r-- | src/resolve/resolved-manager.c | 2 |
4 files changed, 6 insertions, 3 deletions
diff --git a/src/resolve/resolved-bus.c b/src/resolve/resolved-bus.c index ff6acb2eac..ffe61bdb9f 100644 --- a/src/resolve/resolved-bus.c +++ b/src/resolve/resolved-bus.c @@ -2,6 +2,7 @@ #include "alloc-util.h" #include "bus-common-errors.h" +#include "bus-polkit.h" #include "bus-util.h" #include "dns-domain.h" #include "memory-util.h" diff --git a/src/resolve/resolved-dnssd-bus.c b/src/resolve/resolved-dnssd-bus.c index 24bb37b35e..f7dcb3bfa5 100644 --- a/src/resolve/resolved-dnssd-bus.c +++ b/src/resolve/resolved-dnssd-bus.c @@ -1,9 +1,10 @@ +/* SPDX-License-Identifier: LGPL-2.1+ */ #include "alloc-util.h" -#include "bus-util.h" +#include "bus-polkit.h" #include "missing_capability.h" -#include "resolved-dnssd.h" #include "resolved-dnssd-bus.h" +#include "resolved-dnssd.h" #include "resolved-link.h" #include "strv.h" #include "user-util.h" diff --git a/src/resolve/resolved-link-bus.c b/src/resolve/resolved-link-bus.c index a8480f190a..2a166c11b0 100644 --- a/src/resolve/resolved-link-bus.c +++ b/src/resolve/resolved-link-bus.c @@ -6,6 +6,7 @@ #include "alloc-util.h" #include "bus-common-errors.h" +#include "bus-polkit.h" #include "bus-util.h" #include "parse-util.h" #include "resolve-util.h" diff --git a/src/resolve/resolved-manager.c b/src/resolve/resolved-manager.c index af91a8ec1a..4f72077720 100644 --- a/src/resolve/resolved-manager.c +++ b/src/resolve/resolved-manager.c @@ -14,7 +14,7 @@ #include "af-list.h" #include "alloc-util.h" -#include "bus-util.h" +#include "bus-polkit.h" #include "dirent-util.h" #include "dns-domain.h" #include "fd-util.h" |