basic: split out update_reboot_parameter_and_warn() into its own .c/.h files

This is primarily preparation for a follow-up commit that adds a common
implementation of the other side of the reboot parameter file, i.e. the
code that reads the file and issues reboot() for it.
This commit is contained in:
Lennart Poettering
2018-02-22 10:46:12 +01:00
parent 118cf9523b
commit e3631d1c80
7 changed files with 42 additions and 25 deletions
+1
View File
@@ -73,6 +73,7 @@
#include "path-util.h"
#include "process-util.h"
#include "raw-reboot.h"
#include "reboot-util.h"
#include "rlimit-util.h"
#include "set.h"
#include "sigbus.h"