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.
#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;
#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"
'selinux-util.c',
'serialize.c',
'service-util.c',
- 'sleep-config.c',
+ 'sleep-util.c',
'smack-util.c',
'socket-label.c',
'socket-netlink.c',
#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"
#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"
#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"