summaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-06-05 11:49:35 +0200
committerLennart Poettering <lennart@poettering.net>2023-06-05 12:18:21 +0200
commitaf4e8e86ec91389a04df2b1b8621c0ad5c84917b (patch)
tree14fe71addd6fa8acaeadd9ec0954922551b12ab9 /src/test
parentadd support for KSM (diff)
downloadsystemd-af4e8e86ec91389a04df2b1b8621c0ad5c84917b.tar.xz
systemd-af4e8e86ec91389a04df2b1b8621c0ad5c84917b.zip
battery-util: split out code that checks AC power state into its own .c/.h pair
No code change, just some splitting out of the relevant code from udev-util.[ch]. This makes sense on its own, but is also prepartion to move the code that checks for low battery state into battery-util.[ch], too.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test-condition.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-condition.c b/src/test/test-condition.c
index 8f52dab8ce..317a104f4e 100644
--- a/src/test/test-condition.c
+++ b/src/test/test-condition.c
@@ -11,6 +11,7 @@
#include "apparmor-util.h"
#include "architecture.h"
#include "audit-util.h"
+#include "battery-util.h"
#include "cgroup-util.h"
#include "condition.h"
#include "cpu-set-util.h"
@@ -39,7 +40,6 @@
#include "tests.h"
#include "tmpfile-util.h"
#include "tomoyo-util.h"
-#include "udev-util.h"
#include "uid-alloc-range.h"
#include "user-util.h"
#include "virt.h"