1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-11 09:18:07 +03:00

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.
This commit is contained in:
Lennart Poettering 2023-06-20 14:18:52 +02:00
parent c1583ca16a
commit 4014172a8b
7 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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"

View File

@ -142,7 +142,7 @@ shared_sources = files(
'selinux-util.c',
'serialize.c',
'service-util.c',
'sleep-config.c',
'sleep-util.c',
'smack-util.c',
'socket-label.c',
'socket-netlink.c',

View File

@ -36,7 +36,7 @@
#include "macro.h"
#include "path-util.h"
#include "siphash24.h"
#include "sleep-config.h"
#include "sleep-util.h"
#include "stat-util.h"
#include "stdio-util.h"
#include "string-table.h"

View File

@ -34,7 +34,7 @@
#include "main-func.h"
#include "parse-util.h"
#include "pretty-print.h"
#include "sleep-config.h"
#include "sleep-util.h"
#include "special.h"
#include "stdio-util.h"
#include "string-util.h"

View File

@ -12,7 +12,7 @@
#include "fd-util.h"
#include "log.h"
#include "memory-util.h"
#include "sleep-config.h"
#include "sleep-util.h"
#include "strv.h"
#include "tests.h"