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
+2
View File
@@ -158,6 +158,8 @@ basic_sources = files('''
ratelimit.h
raw-clone.h
raw-reboot.h
reboot-util.c
reboot-util.h
refcnt.h
replace-var.c
replace-var.h