diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-06-20 14:18:52 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2023-06-20 14:18:52 +0200 |
commit | 4014172a8bc0838e483dbf62faf49e0862cadfeb (patch) | |
tree | f7405196529e0c995e626958b768047ca4fbb0dd /src/login | |
parent | sleep-config: reduce scope of DMI object path a bit (diff) | |
download | systemd-4014172a8bc0838e483dbf62faf49e0862cadfeb.tar.xz systemd-4014172a8bc0838e483dbf62faf49e0862cadfeb.zip |
sleep: rename sleep-config.[ch] → sleep-util.[ch]
The file long ceased to be exclusively about configuration of the sleep
operation. It contains many many calls for other purposes, hence give it
a more generic name.
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/logind-action.h | 2 | ||||
-rw-r--r-- | src/login/logind-dbus.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/login/logind-action.h b/src/login/logind-action.h index dfef6400e9..7cb94d9bea 100644 --- a/src/login/logind-action.h +++ b/src/login/logind-action.h @@ -24,7 +24,7 @@ typedef struct HandleActionData HandleActionData; #include "logind-inhibit.h" #include "logind.h" -#include "sleep-config.h" +#include "sleep-util.h" static inline bool handle_action_valid(HandleAction a) { return a >= 0 && a < _HANDLE_ACTION_MAX; diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c index 79531d2cc4..0d4ab28b4d 100644 --- a/src/login/logind-dbus.c +++ b/src/login/logind-dbus.c @@ -46,7 +46,7 @@ #include "process-util.h" #include "reboot-util.h" #include "selinux-util.h" -#include "sleep-config.h" +#include "sleep-util.h" #include "special.h" #include "serialize.h" #include "stdio-util.h" |