chiark / gitweb /
basic: split out update_reboot_parameter_and_warn() into its own .c/.h files
authorLennart Poettering <lennart@poettering.net>
Wed, 21 Feb 2018 16:54:35 +0000 (17:54 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:59:02 +0000 (07:59 +0200)
commitfc145f67d8597dea9bd9bfcacac1e6fec533051d
treefca2157d851fce381928efa5298fbf0132e7986c
parent608b07b67bf9f097cec658e15d0adbff5f18985b
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.
src/basic/meson.build
src/basic/reboot-util.c [new file with mode: 0644]
src/basic/reboot-util.h [new file with mode: 0644]
src/basic/util.c
src/basic/util.h